Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge problem with VNC
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
gK
Guru
Guru


Joined: 31 Jul 2002
Posts: 319
Location: France

PostPosted: Fri Aug 30, 2002 11:31 am    Post subject: emerge problem with VNC Reply with quote

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 18, Exitcode 2
!!! (no error message)

I has emerge rsync again but error result of compilation...
What am i doing ?
Back to top
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Fri Aug 30, 2002 12:30 pm    Post subject: Reply with quote

Double-check your /etc/make.conf file and make sure your compiler flags are uncommented for your compiler. I once had those reset when I updated portage. Couldn't hurt to check.
Back to top
View user's profile Send private message
gK
Guru
Guru


Joined: 31 Jul 2002
Posts: 319
Location: France

PostPosted: Fri Aug 30, 2002 2:41 pm    Post subject: Reply with quote

All lign are commente in my /etc/make.conf ?!

Quote:


# Examples:

# Pentium Pro/Pentium II/Pentium III+/Pentium 4/Athlon optimized (but binaries
# will run on any x86 system)
#CHOST="i686-pc-linux-gnu"
#CFLAGS="-mcpu=i686 -O3 -pipe"
#CXXFLAGS="-mcpu=i686 -O3 -pipe"

# Pentium Pro/Pentium II/Pentium III+/Pentium 4/Athlon exclusive (binaries
# will use the P6 instruction set and only run on P6+ systems)
#CHOST="i686-pc-linux-gnu"
#CFLAGS="-march=i686 -O3 -pipe"
#CXXFLAGS="-march=i686 -O3 -pipe"

# Pentium/Pentium MMX+ exclusive (requires a Pentium Classic or K6 or beyond)
#CHOST="i586-pc-linux-gnu"
#CFLAGS="-march=i586 -O3 -pipe"
#CXXFLAGS="-march=i586 -O3 -pipe"

# K6 exclusive (requires a K6 or beyond)
#CHOST="i586-pc-linux-gnu"
#CFLAGS="-mcpu=k6 -march=k6 -O3 -pipe"
#CXXFLAGS="-mcpu=k6 -march=k6 -O3 -pipe"

[...]


I must put my own flags ?
As I'am an AMD Athlon, i found this :

Quote:

Athlon (AMD)
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=k6 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=k6 -O3 -pipe -fomit-frame-pointer"

[/quote]
Back to top
View user's profile Send private message
gK
Guru
Guru


Joined: 31 Jul 2002
Posts: 319
Location: France

PostPosted: Fri Aug 30, 2002 2:41 pm    Post subject: Reply with quote

All ligns are commented in my /etc/make.conf ?!

Quote:


# Examples:

# Pentium Pro/Pentium II/Pentium III+/Pentium 4/Athlon optimized (but binaries
# will run on any x86 system)
#CHOST="i686-pc-linux-gnu"
#CFLAGS="-mcpu=i686 -O3 -pipe"
#CXXFLAGS="-mcpu=i686 -O3 -pipe"

# Pentium Pro/Pentium II/Pentium III+/Pentium 4/Athlon exclusive (binaries
# will use the P6 instruction set and only run on P6+ systems)
#CHOST="i686-pc-linux-gnu"
#CFLAGS="-march=i686 -O3 -pipe"
#CXXFLAGS="-march=i686 -O3 -pipe"

# Pentium/Pentium MMX+ exclusive (requires a Pentium Classic or K6 or beyond)
#CHOST="i586-pc-linux-gnu"
#CFLAGS="-march=i586 -O3 -pipe"
#CXXFLAGS="-march=i586 -O3 -pipe"

# K6 exclusive (requires a K6 or beyond)
#CHOST="i586-pc-linux-gnu"
#CFLAGS="-mcpu=k6 -march=k6 -O3 -pipe"
#CXXFLAGS="-mcpu=k6 -march=k6 -O3 -pipe"

[...]


I must put my own flags ?
As I'am an AMD Athlon, i found this :

Quote:

Athlon (AMD)
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=k6 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=k6 -O3 -pipe -fomit-frame-pointer"
Back to top
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Fri Aug 30, 2002 2:42 pm    Post subject: Reply with quote

Only the CHOST, CFLAGS, and CXXFLAGS should be uncommented. The "Athlon (AMD)" is just a description and should be commented.
Back to top
View user's profile Send private message
gK
Guru
Guru


Joined: 31 Jul 2002
Posts: 319
Location: France

PostPosted: Fri Aug 30, 2002 3:28 pm    Post subject: Reply with quote

Thanks you very much.
So, if I put this flag, what will be happen ? My compilation will be speed ?

But for the matter of VNC, i symply emerge "thighvnc" instead of VNC :p
Back to top
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Fri Aug 30, 2002 4:22 pm    Post subject: Reply with quote

I can't say that your compilation will be faster, but at least it will work. If you were telling portage to compile for a processor other than the one you plan to run on then the program won't run. i.e. I think it deafaults to a 686 processor, and I don't think that includes AMD K6 procs.

You could emerge tightvnc or vnc. tightvnc just does some more compression and is suggested if you are doing stuff over DSL/cable. If you have a T1 to your house, then by all means use regular VNC, and co-host my mail server while you're at it.
Back to top
View user's profile Send private message
gK
Guru
Guru


Joined: 31 Jul 2002
Posts: 319
Location: France

PostPosted: Fri Aug 30, 2002 4:38 pm    Post subject: Reply with quote

Okay, thanks 8)
Back to top
View user's profile Send private message
gK
Guru
Guru


Joined: 31 Jul 2002
Posts: 319
Location: France

PostPosted: Fri Aug 30, 2002 4:40 pm    Post subject: Reply with quote

My /etc/makes.conf is now as :

Quote:

# Examples:

#AMD Athlon
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=k6 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=k6 -O3 -pipe -fomit-frame-pointer"

# Pentium Pro/Pentium II/Pentium III+/Pentium 4/Athlon optimized (but binaries
# will run on any x86 system)
#CHOST="i686-pc-linux-gnu"
#CFLAGS="-mcpu=i686 -O3 -pipe"
Back to top
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Fri Aug 30, 2002 4:41 pm    Post subject: Reply with quote

Looks good. Try emerging now.
Back to top
View user's profile Send private message
gK
Guru
Guru


Joined: 31 Jul 2002
Posts: 319
Location: France

PostPosted: Fri Aug 30, 2002 5:52 pm    Post subject: Reply with quote

It seems that i've got the same problem...
Back to top
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Fri Aug 30, 2002 5:54 pm    Post subject: Reply with quote

Can you paste the entire output of your emerge into a Code blocK?
Back to top
View user's profile Send private message
kirkegard
n00b
n00b


Joined: 03 Sep 2002
Posts: 11

PostPosted: Wed Sep 04, 2002 4:45 pm    Post subject: Reply with quote

This is what I get:

gcc -o vncviewer -O2 -fno-strength-reduce -L/usr/X11R6/lib argsresources.o colour.o desktop.o dialogs.o fullscreen.o listen.o misc.o popup.o rfbproto.o selection.o shm.o sockets.o vncviewer.o -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 ../libvncauth/libvncauth.a
make[1]: *** No rule to make target `vncviewer.man', needed by `vncviewer._man'. Stop.
make[1]: Leaving directory `/var/tmp/portage/vnc-3.3.3-r2/work/vnc_unixsrc/vncviewer'
make: *** [all] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 18, Exitcode 2
!!! (no error message)

I apologize for not gettin it in a code block, but I can't get the damn "Code" button to do anything.
Back to top
View user's profile Send private message
bLanark
Apprentice
Apprentice


Joined: 27 Aug 2002
Posts: 181
Location: Royal Berkshire, UK

PostPosted: Thu Sep 05, 2002 7:12 am    Post subject: Known problem... Reply with quote

See here https://forums.gentoo.org/viewtopic.php?t=12642&highlight=vncviewer+man+emerge. I raised a bug, but due to stupidity or ineptitude I can't test the fix. See https://bugs.gentoo.org/show_bug.cgi?id=7365 for the bug details
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum