You are not logged in.

#1 2011-12-25 11:17:14

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

Cannot compile lib32-wxgtk

Of course I have a x86_64; the package as-is fails with this message:

checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.

I edited PKGBUILD adding --host=i686-unknown-linux in the ./configure line, but configuring still fails with:

checking for OpenGL headers... found in /usr/include
checking for GL/gl.h... yes
checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking for -lGL... no
checking for -lMesaGL... no
configure: error: OpenGL libraries not available

And here I am confused because I have lib32-libgl installed and being a.c an empty main this command line works fine:

$ gcc -m32 -o /dev/null -lGL a.c 

What can I try? The host line makes no sense?
Thanks

Offline

#2 2011-12-25 12:53:40

kurych
Member
From: Saint-Petersburg, Russia
Registered: 2011-12-07
Posts: 27

Re: Cannot compile lib32-wxgtk

check if did you have installed packages from "base-devel" group

$ sudo pacman -S base-devel

Offline

#3 2011-12-25 13:40:32

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

Re: Cannot compile lib32-wxgtk

Yes, I do have base-devel. Just to be sure I used pacman --needed -S base-devel and  pacman --needed -S multilib-devel... but it just confirmed that.

Offline

#4 2011-12-25 14:26:22

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Cannot compile lib32-wxgtk

Do you have all the dependencies and makedependencies installed?

Offline

#5 2011-12-25 15:06:14

kurych
Member
From: Saint-Petersburg, Russia
Registered: 2011-12-07
Posts: 27

Re: Cannot compile lib32-wxgtk

/usr/lib/libGL.so is owned by libgl. Did you have packet "libgl" installed?

Last edited by kurych (2011-12-25 15:06:34)

Offline

#6 2011-12-25 19:08:39

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

Re: Cannot compile lib32-wxgtk

@karol
The makepkg does not start at all if you do not have the deps!

@kurych
Yes, I do have both libgl and lib32-libgl.

Offline

#7 2011-12-25 19:16:54

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Cannot compile lib32-wxgtk

Argh, I though you were doing it by hand, sorry.

Leave a comment about your problems on the AUR page of the package: https://aur.archlinux.org/packages.php?ID=28684

Offline

Board footer

Powered by FluxBB