Is Gnome2 not supported on the amd64 ARCH?

Gary Jennejohn gljennjohn at googlemail.com
Sun Jan 2 14:05:57 UTC 2011


On Sun, 2 Jan 2011 04:02:45 -0800 (PST)
fbsdmail at dnswatch.com wrote:

> 
> On Sun, January 2, 2011 3:51 am, Gary Jennejohn wrote:
> > On Sun, 2 Jan 2011 03:23:24 -0800 (PST)
> > fbsdmail at dnswatch.com wrote:
> >
> >> Greetings,
> >> I installed fresh from the 8.1-RELEASE DVD, and
> >> cvsupped 8.1 src && ports-CURRENT 2 days ago. My target wm for this box
> >> is x11-wm/icewm But I chose to install x11/gnome2-lite && x11/kde4-lite
> >> beforehand because I like some of the applications they provide. So I
> >> started with gnome2-lite immediately after finishing cd
> >> /usr/ports/x11/xorg make && make install.
> >> The gnome2-lite make failed @ devel/libgtop (libgtop-2.28.2)
> >> with the following (from config.log):
> >>
> >> It was created by libgtop configure 2.28.2, which was
> >> generated by GNU Autoconf 2.67.  Invocation command line was
> >>
> >> $ ./configure --disable-gtk-doc --with-html-dir=/usr/local/share/doc
> >> --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/
> >> --build=amd64-portbld-freebsd8.1
> >>
> >>
> >> ## --------- ##
> >> ## Platform. ##
> >> ## --------- ##
> >>
> >>
> >> uname -m = amd64 uname -r =
> >> 8.1-RELEASE-p2
> >> uname -s = FreeBSD uname -v = FreeBSD 8.1-RELEASE-p2 #0: Fri Dec 31
> >> 19:07:25 PST 2010
> >>
> >>
> >> /usr/bin/uname -p = amd64
> >> /bin/uname -X     = unknown
> >>
> >>
> >> /bin/arch              = unknown
> >> /usr/bin/arch -k       = unknown
> >> /usr/convex/getsysinfo = unknown
> >> /usr/bin/hostinfo      = unknown
> >> /bin/machine           = unknown
> >> /usr/bin/oslevel       = unknown
> >> /bin/universe          = unknown
> >>
> >>
> >> PATH: /sbin
> >> PATH: /bin
> >> PATH: /usr/sbin
> >> PATH: /usr/bin
> >> PATH: /usr/games
> >> PATH: /usr/local/sbin
> >> PATH: /usr/local/bin
> >> PATH: /root/bin
> >>
> >>
> >>
> >> ## ----------- ##
> >> ## Core tests. ##
> >> ## ----------- ##
> >>
> >>
> >> configure:2607: checking build system type
> >> configure:2621: result: amd64-portbld-freebsd8.1
> >> configure:2641: checking host system type
> >> configure:2654: result: amd64-portbld-freebsd8.1
> >> configure:2691: checking for a BSD-compatible install
> >> configure:2759: result: /usr/bin/install -c -o root -g wheel
> >> configure:2770: checking whether build environment is sane
> >> configure:2820: result: yes
> >> configure:2961: checking for a thread-safe mkdir -p
> >> configure:3000: result: ./install-sh -c -d
> >> configure:3013: checking for gawk
> >> configure:3029: found /usr/local/bin/gawk
> >> configure:3040: result: gawk
> >> configure:3051: checking whether gmake sets $(MAKE)
> >> configure:3073: result: yes
> >> configure:3187: checking for style of include used by gmake
> >> configure:3215: result: GNU
> >> configure:3285: checking for gcc
> >> configure:3312: result: cc
> >> configure:3541: checking for C compiler version
> >> configure:3550: cc --version >&5
> >> cc (GCC) 4.2.1 20070719  [FreeBSD] Copyright (C) 2007 Free Software
> >> Foundation, Inc.
> >> This is free software; see the source for copying conditions.  There is
> >> NO
> >> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> >> PURPOSE.
> >>
> >>
> >> configure:3561: $? = 0
> >> configure:3550: cc -v >&5
> >> Using built-in specs.
> >> Target: amd64-undermydesk-freebsd
> >> Configured with: FreeBSD/amd64 system compiler
> >> Thread model: posix
> >> gcc version 4.2.1 20070719  [FreeBSD] configure:3561: $? = 0
> >> configure:3550: cc -V >&5
> >> cc: '-V' option must have argument
> >> configure:3561: $? = 1
> >> configure:3550: cc -qversion >&5
> >> cc: unrecognized option '-qversion'
> >> cc: No input files specified
> >> configure:3561: $? = 1
> >> configure:3581: checking whether the C compiler works
> >> configure:3603: cc -O2 -pipe -march=athlon-mp -fno-strict-aliasing
> >> -I/usr/local/include -DHAVE_NET_IF_VAR_H -L/usr/local/lib conftest.c
> >> >&5
> >> conftest.c:1: error: CPU you selected does not support x86-64
> >> instruction set conftest.c:1: error: CPU you selected does not support
> >> x86-64 instruction set configure:3607: $? = 1
> >> configure:3645: result: no
> >> configure: failed program was:
> >> | /* confdefs.h */
> >> | #define PACKAGE_NAME "libgtop"
> >> | #define PACKAGE_TARNAME "libgtop"
> >> | #define PACKAGE_VERSION "2.28.2"
> >> | #define PACKAGE_STRING "libgtop 2.28.2"
> >> | #define PACKAGE_BUGREPORT
> >> "http://bugzilla.gnome.org/enter_bug.cgi?product=libgtop"
> >> | #define PACKAGE_URL ""
> >> | #define PACKAGE "libgtop"
> >> | #define VERSION "2.28.2"
> >> | /* end confdefs.h.  */
> >>
> >>
> >> PLEASE NOTE I have no control of your mail readers screen width/
> >> line wrapping
> >>
> >> As you can see, it complains about amd64 (x86-64). :(
> >>
> >>
> >> Thank you for all your time ans consideration.
> >>
> >>
> >> --Chris
> >>
> >>
> >
> > The obvious question is whether you set cpu in /etc/make.conf.
> >
> >
> > Don't do that.
> >
> >
> > --
> > Gary Jennejohn
> >
> >
> Hello, and thank you for your reply.
> Interesting you should bring that up.
> The last 4 installs I've done on the amd64 ARCH
> all had:
> CPUTYPE?=athlon-mp
> 
> in make.conf, and none resulted in error(s).
> The only 2 differences from those and this one were
> the time(s) src && ports were cvsupped.
> 
> Am I to understand 64-bit optimization is undesirable?
> 
> Thank you again for your thoughtful reply.
> 

I'm running 9.0-CURRENT AMD64 _without cpu_ in /etc/.make.conf and have
no problem compiling libgtop.

Try commenting it out and see what happens.  It isn't really necessary
because AFAIK gcc figures out for itself which CPU you have.

-- 
Gary Jennejohn


More information about the freebsd-amd64 mailing list