Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jun 2002 10:09:41 -0700
From:      Adam Weinberger <monkey@crackula.com>
To:        "S. Roberts" <sroberts@dsl.pipex.com>
Cc:        Jake Bishop <jb3insf@pacbell.net>, FreeBSD-Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Gnome build failure
Message-ID:  <20020608100941.B8760@crackula.com>
In-Reply-To: <1023536327.304.178.camel@Demon.Strobe.org>; from sroberts@dsl.pipex.com on Sat, Jun 08, 2002 at 12:38:46PM %2B0100
References:  <3D01E373.33B8D881@pacbell.net> <1023536327.304.178.camel@Demon.Strobe.org>

next in thread | previous in thread | raw e-mail | index | archive | help
i don't have the patience to poke at the configure script, so then,
assuming that you have gtk installed normally, and it should be -lgtk12,
the quickest kludge possible is to run:

# cd /usr/ports/x11/xscreensaver
# make clean configure
# cp work/xscreensaver-4.04/driver/Makefile work/xscreensaver-4.04/driver/Makefile.orig
# sed -e "s/-lgtk -lgdk -lglib//" work/xscreensaver-4.04/driver/Makefile.orig > work/xscreensaver-4.04/driver/Makefile
# make install clean

-Adam


S. Roberts took 5.5K on Sat, Jun 08, 2002 at 12:38:46PM +0100 to say:
> Hi Jake,
>    You're not only one experiencing a problem with that port - see from
> pkg_version -v:
> xscreensaver-gnome-4.02             <   needs updating (port has 4.04.2)
> and portupgrade:
> <snip>
> /usr/X11R6/include/gtk12/gtk/gtkitemfactory.h:48: warning: function
> declaration isn't a prototypecc -Wall -Wstrict-prototypes
> -Wnested-externs -Wno-format -std=c89 -U__STRICT_ANSI__ -L/usr/X11R6/lib
> -o xscreensaver-demo-Gtk prefs.o dpms.o remote.o exec.o
> ../utils/resources.o ../utils/usleep.o ../utils/visual.o demo-Gtk.o
> demo-Gtk-conf.o demo-Gtk-widgets.o demo-Gtk-support.o  -L/usr/local/lib 
> -L/usr/X11R6/lib \
> -Wl,-E   -Wl,-E   -Wl,-E  -L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk
> -lglib -lcapplet -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lwrap
> -lgnorba -lXpm -ljpeg -lgnomeui -lart_lgpl -lgdk_imlib -ltiff -lungif
> -lpng -lz -lSM -lICE -lgnome -lgnomesupport -lesd -lgnugetopt
> -laudiofile -lgdk_pixbuf -lgtk12 -lgdk12 -lgmodule12 -lglib12 -lintl
> -lXext -lX11 -lm    -L/usr/local/lib -lxml2 -lz -liconv -lm   -lXmu
> -L/usr/local/lib -lxml2 -lz -liconv -lm    -lSM -lICE -lXt -lX11 \
> -lXdpms -lXext 
> /usr/libexec/elf/ld: cannot find -lgtk <=>----------- Look familiar?
> gmake[1]: *** [xscreensaver-demo-Gtk] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/x11/xscreensaver/work/xscreensaver-4.04/driver'
> gmake: *** [all] Error 5
> *** Error code 2
> 
> Stop in /usr/ports/x11/xscreensaver.
> ** Command failed: make
> ** Fix the problem and try again.
> ** The following packages were not installed or upgraded (*:skipped /
> !:failed)
> 	! x11/xscreensaver (xscreensaver-gnome-4.02)	(unknown build error)
> # 
> 
> I've been trying to chase this for a while now, by posting here as well
> as to the listed port maintainer, but haven't gotten any responses as
> yet - just posts from other users asking the same question as you've
> done here. Hopefully someone'll (or indeed, the port maintainer) get
> back to us on this. I know this isn't a solution, but I thought you'd
> like to know that others are also in the same situation and are awaiting
> some information.
> 
> Stacey
> 
> 
> On Sat, 2002-06-08 at 11:58, Jake Bishop wrote:
> > Hello,
> > I am trying to build the Gnome port on  FreeBSD stable 4.6rc 0,The build
> > fails on xscreensaver saying it cant find -lgtk. Everything else
> > compiled fine.
> > Thanks
> > Jake
> > 
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-gnome" in the body of the message
> -- 
> Stacey Roberts B.Sc. (HONS) Computer Science
> Network Systems Engineer





--
"I am disrespectful to dirt! Can you see I am serious!"
	-Mr. Sparkle
Adam Weinberger
monkey@crackula.com
http://www.crackula.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020608100941.B8760>