Re: [GtkGLExt] GtkGLExt - (cross) building troubles



You have to set the PKG_CONFIG_LIBDIR variable to point to the .pc files  for the 
host architechture.  See the man page for pkg-config

J'

On Fri, Jan 15, 2010 at 12:26:51PM -0800, Peter Sivak wrote:
     
     Hello once again,
     I would try to correct a little bit my previous message.
     
     I have solved the "configure: error: Cannot find GL library" error. The
     problem was in that I used this parameter: "--host=i386-pc-mingw32", but I
     have the MinGW suite installed in some directory, where there is a
     subdirectory called "i386-mingw32" (without the "pc" part).
     So I just called the configure command with this parameter: "i386-mingw32"
     (without "pc") and the configure process finally found the OpenGL required
     libraries.
     So this problem "is solved".
     
     
     But I have always tried the configure command with the additional
     parameters: "--disable-gtktest" and "--disable-glibtest" because I had
     problems without that parameters.
     
     So now, when I run this configure command:
     
         configure --host=i386-mingw32
     
     it throws this error:
     
         checking for GLIB - version >= 2.0.0... no
         *** Could not run GLIB test program, checking why...
         *** The test program failed to compile or link. See the file config.log
     for the
         *** exact error that occured. This usually means GLIB is incorrectly
     installed.
         configure: error: GLib 2.0 not found
     
     So the "GLib" library was not found but I think I have that library (and the
     correct version of that library) installed (I have also the right
     "glib-2.0.pc" file in the "pkgconfig" directory).
     And the same problem is with the "gtk+" library.
     
     Do you know how to solve this?
     
     
     P.S.: Before these problems I have also a problem with the "pangox" library,
     but I read somewhere, that the solution is to remove all references to
     pangox in "configure" and "configure.in" files, so I manually remove some
     lines from these files where there was a reference to pangox. Couldn't be
     problem in that?
     
     P.S.2: By the way, when I run the command: "configure --host=i386-mingw32
     --disable-gtktest --disable-glibtest", the configure process will
     successfully complete, but there is again some error after running the
     "make" command.
     -- 
     View this message in context: http://old.nabble.com/GtkGLExt---%28cross%29-building-troubles-tp27168719p27183119.html
     Sent from the Gnome - GtkGLExt mailing list archive at Nabble.com.
     
     _______________________________________________
     gtkglext-list mailing list
     gtkglext-list gnome org
     http://mail.gnome.org/mailman/listinfo/gtkglext-list

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: signature.asc
Description: Digital signature



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