View previous topic :: View next topic |
Author |
Message |
gK Guru
Joined: 31 Jul 2002 Posts: 319 Location: France
|
Posted: Fri Aug 30, 2002 11:31 am Post subject: emerge problem with VNC |
|
|
!!! 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 |
|
|
rizzo Retired Dev
Joined: 30 Apr 2002 Posts: 1067 Location: Manitowoc, WI, USA
|
Posted: Fri Aug 30, 2002 12:30 pm Post subject: |
|
|
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 |
|
|
gK Guru
Joined: 31 Jul 2002 Posts: 319 Location: France
|
Posted: Fri Aug 30, 2002 2:41 pm Post subject: |
|
|
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 |
|
|
gK Guru
Joined: 31 Jul 2002 Posts: 319 Location: France
|
Posted: Fri Aug 30, 2002 2:41 pm Post subject: |
|
|
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 |
|
|
rizzo Retired Dev
Joined: 30 Apr 2002 Posts: 1067 Location: Manitowoc, WI, USA
|
Posted: Fri Aug 30, 2002 2:42 pm Post subject: |
|
|
Only the CHOST, CFLAGS, and CXXFLAGS should be uncommented. The "Athlon (AMD)" is just a description and should be commented. |
|
Back to top |
|
|
gK Guru
Joined: 31 Jul 2002 Posts: 319 Location: France
|
Posted: Fri Aug 30, 2002 3:28 pm Post subject: |
|
|
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 |
|
|
rizzo Retired Dev
Joined: 30 Apr 2002 Posts: 1067 Location: Manitowoc, WI, USA
|
Posted: Fri Aug 30, 2002 4:22 pm Post subject: |
|
|
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 |
|
|
gK Guru
Joined: 31 Jul 2002 Posts: 319 Location: France
|
Posted: Fri Aug 30, 2002 4:38 pm Post subject: |
|
|
Okay, thanks |
|
Back to top |
|
|
gK Guru
Joined: 31 Jul 2002 Posts: 319 Location: France
|
Posted: Fri Aug 30, 2002 4:40 pm Post subject: |
|
|
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 |
|
|
rizzo Retired Dev
Joined: 30 Apr 2002 Posts: 1067 Location: Manitowoc, WI, USA
|
Posted: Fri Aug 30, 2002 4:41 pm Post subject: |
|
|
Looks good. Try emerging now. |
|
Back to top |
|
|
gK Guru
Joined: 31 Jul 2002 Posts: 319 Location: France
|
Posted: Fri Aug 30, 2002 5:52 pm Post subject: |
|
|
It seems that i've got the same problem... |
|
Back to top |
|
|
rizzo Retired Dev
Joined: 30 Apr 2002 Posts: 1067 Location: Manitowoc, WI, USA
|
Posted: Fri Aug 30, 2002 5:54 pm Post subject: |
|
|
Can you paste the entire output of your emerge into a Code blocK? |
|
Back to top |
|
|
kirkegard n00b
Joined: 03 Sep 2002 Posts: 11
|
Posted: Wed Sep 04, 2002 4:45 pm Post subject: |
|
|
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 |
|
|
bLanark Apprentice
Joined: 27 Aug 2002 Posts: 181 Location: Royal Berkshire, UK
|
|
Back to top |
|
|
|