Re: gtk on freebsd



As the well known Johan Groth said...
->Emmanuel DELOGET wrote:
->> 
->> Hi, lords.
->> 
->> I'm currently updating gtk (from 1.0.6 (!) to 1.2.2) on a freebsd
->> 2.2.8 box, and I have some problems. Everything compile well
->> (on my linux box without the pthread lib, I had a compile time
->> error on some file - I do not remember the name), and install well
->> from the following command line :
->> 
->>         ./configure --prefix=/usr/local --datadir=/usr/local/lshare \
->>         --infodir=/usr/local/linfo
->> 
->> But when I want to 'configure' compile some third party products that
->> uses gtk (such as imlib or the Gimp), they complain and give me these
->> error messages :
->
->Check the config.log (if you are using configure) to the exact error and
->post that to the list.

configure:2159: gcc -o conftest -g -O2 -I/usr/X11R6/include \
  -I/usr/local/lib/glib/include -I/usr/local/include   conftest.c \
  -L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lglib \
  -lXext -lX11 -lm  1>&5
configure: failed program was:
#line 2081 "configure"

	As I said in my last reply, the gcc invocation should normally be

configure:2159: gcc -o conftest -g -O2 -I/usr/X11R6/include \
  -I/usr/local/lib/glib/include -I/usr/local/include   conftest.c \
  -L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lglib \
  -lXext -lX11 -lm -lc_r 1>&5
                   ^^^^^^
	Or (as the freebsd team seems to prefer)

configure:2159: gcc -pthread -o conftest -g -O2 -I/usr/X11R6/include \
                    ^^^^^^^^
  -I/usr/local/lib/glib/include -I/usr/local/include   conftest.c \
  -L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lglib \
  -lXext -lX11 -lm  1>&5

->
->///Johan
->
->--
->! Ericsson Infotech AB	    ! ECN: 863 3554                         !
->! Johan Groth KS/EIN/T/R    ! Phone: +46 54 19 3554                 !
->! Box 1038                  ! Fax:   +46 54 19 3466                 !
->! Lagergrens gata 3	    ! Email: Johan.Groth(at)ein.ericsson.se !
->! S-651 15 Karlstad, Sweden ! Email: Johan.Groth(at)ks.ericsson.se  !
->
-- 
__________________________________________________________________________
   Emmanuel DELOGET [pixel] pixel@{dotcom.fr,epita.fr}  ----  DotCom SA
         http://www.epita.fr/~pixel | http://www.dotcom.fr/~pixel
"On the last day, God created Linux. And Microsoft won its antitrust case"
--------------------------------------------------------------------------



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]