You need to set the LDFLAGS environment variable when ./configuring SimGear (and
FlightGear for that matter).
Rather than running:
./configure
run:
LDFLAGS=-L/usr/local/lib ./configure
This should get things working for you.
Richard
> -----Original Message-----
> From: g kumaresan [mailto:[EMAIL PROTECTED]]
> Sent: 20 February 2003 8:02 am
> To: [EMAIL PROTECTED]
> Subject: [Flightgear-users] stuck with metakit installation..
>
>
> hi,
>
> i'm new to this FLIGHT GEAR environment.
> i'm working under pIII/win98/Cygwin environment.
>
> i'v downloaded ..
>
> flightgear 0.9.1
> simgear 0.3.1
> plib 1.6.0
> metakit 2.4.3-3
> zlib 1.1.4
>
>
> when i'm trying to install simgear, i'm getting errors
> saying that i've not installed metakit. but i've
> installed both zilb and metakit (in the place
> according to the FLIGHT GEAR installation manual).
> i'm
> little suspicious about the path where to install
> metakit.
>
> zlib is in
> usr/local/source/simgear0.3.1/src-libs/zlib
> matakit is in
> usr/local/source/simgear0.3.1/src-libs/metakit as
> given in the instruction manual
>
> In the FLIGHT GEAR manual it is given as metakit
> should be configured only at zlib-X.X.X/builds (!)
> but
> i could not find that path in zlib,(but metaktit has
> builds) so i was struck with how to run ./configre.
>
> In another readme file that came along with metakit
> tar file i came across how to install matakit.
>
> ===============================================
> ../unix/configure
> make
> make test % for installing core lib
> make install % for installing script extensions.
> ===============================================
>
>
> it worked.
> it was installed(i assumed that).
>
> but when installing simgear it spitted a error saying
> that metakit was not installed.
> i've given below the last 15 lines of error when i
> tried to configure simgear-0.3.1
>
> =============================================
> checking for socket in -lsocket... no
> checking for XCreateWindow in -lX11... no
> checking for XShmCreateImage in -lXext... no
> checking for XGetExtensionVersion in -lXi... no
> checking for IceOpenConnection in -lICE... no
> checking for SmcOpenConnection in -lSM... no
> checking for XtMalloc in -lXt... no
> checking for XmuLookupStandardColormap in -lXmu... no
> Win32 specific hacks...
> Building with glut32.dll, glu32.dll, and opengl32.dll
> Will link apps with -lpthread -lm -lglut32 -lglu32
> -lopengl32 -luser32 -lgdi32
> checking how to run the C++ preprocessor... g++ -E
> checking plib/ul.h usability... yes
> checking plib/ul.h presence... yes
> checking for plib/ul.h... yes
> checking for plib 1.6.0 or newer... yes
> checking mk4.h usability... no
> checking mk4.h presence... no
> checking for mk4.h... no
>
> Metakit not found, you will need to install this
> first.
> Please read the README.metakit for more information
>
> ====================================================
>
> in the last line it says that the file mk4.h was not
> found. but i searched it and found it in
> metakit-2.4.3\include directory.
>
>
> can anyone help me.
>
> if possible please give me the exact path location
> where metakit,zlib,plib has to be installed.
>
> thanx in advance
> kumar
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, more
> http://taxes.yahoo.com/
>
> _______________________________________________
> Flightgear-users mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-users
>
> ______________________________________________________________
> __________
> This e-mail has been scanned for all viruses by Star Internet. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
> ______________________________________________________________
> __________
>
_______________________________________________
Flightgear-users mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-users