tianmax / logstalgia

Automatically exported from code.google.com/p/logstalgia
0 stars 0 forks source link

glew not found when configure logstalgia-1.0.5 #62

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
On RHEL 5 cannot configure logstalgia-1.0.5.  I got error that glew not found.
But I have installed glew.

More info about my environment:

cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.7 (Tikanga)

uname -a
Linux us000815.tieto.com 2.6.18-238.12.1.el5PAE #1 SMP Sat May 7 20:37:06 EDT 
2011 i686 i686 i386 GNU/Linux

name -m
i686

rpm -qi glew
Name        : glew                         Relocations: (not relocatable)
Version     : 1.5.1                             Vendor: Fedora Project
Release     : 3.el5                         Build Date: Fri Sep  4 23:59:13 2009
Install Date: Thu May 29 22:12:16 2014         Build Host: 
x86-6.fedora.phx.redhat.com
Group       : System Environment/Libraries   Source RPM: 
glew-1.5.1-3.el5.src.rpm
Size        : 516870                           License: BSD and MIT
Signature   : DSA/SHA1, Tue Sep  8 21:04:10 2009, Key ID 119cc036217521f6
Packager    : Fedora Project
URL         : http://glew.sourceforge.net
Summary     : The OpenGL Extension Wrangler Library

In following Gist is full configure log 
https://gist.github.com/aboltart/8265c0adbc43df1d97d5

Original issue reported on code.google.com by artis.ab...@gmail.com on 31 May 2014 at 6:46

GoogleCodeExporter commented 9 years ago
Additional I have installed "Development files for glew"

rpm -qi glew-devel
Name        : glew-devel                   Relocations: (not relocatable)
Version     : 1.5.1                             Vendor: Fedora Project
Release     : 3.el5                         Build Date: Fri Sep  4 23:59:13 2009
Install Date: Thu May 29 22:12:37 2014         Build Host: 
x86-6.fedora.phx.redhat.com
Group       : Development/Libraries         Source RPM: glew-1.5.1-3.el5.src.rpm
Size        : 922256                           License: BSD and MIT
Signature   : DSA/SHA1, Tue Sep  8 21:04:11 2009, Key ID 119cc036217521f6
Packager    : Fedora Project
URL         : http://glew.sourceforge.net
Summary     : Development files for glew
Description :
Development files for glew

Original comment by artis.ab...@gmail.com on 31 May 2014 at 7:14

GoogleCodeExporter commented 9 years ago
It looks like pkg-config doesn't think you have a working glew.

You should have a glew.pc file somewhere. It needs to presumably be in the same 
folder as the ones for freetype2 and libpcre, as pkg-config found those.

If it is there, it might also be that glew.pc has an unmet dependency on 
'glu'... it may mean you should update your other packages (which may add a 
glu.pc), or try removing the dependency on glu from glew.pc.

Original comment by acaudw...@gmail.com on 31 May 2014 at 10:29

GoogleCodeExporter commented 9 years ago
Thanks for info.

Problem was that glew-devel 1.5.1 version not included glew.pc file. By 
installing 1.5.4 version all was fine. Now glew.pc is under 
/usr/lib/pkgconfig/glew.pc

But now I got problem with SDL

checking for SDL2... no
configure: WARNING: SDL 2.0 libraries not found. Trying SDL 1.2. Please note 
SDL 1.2 support is deprecated
checking for SDL... configure: error: Package requirements (sdl >= 1.2.10 
SDL_image) were not met:

No package 'sdl' found

I have installed following SDL rpms

rpm -qa | grep SDL
SDL_image-devel-1.2.10-1.el5.rf
SDL-1.2.10-9.el5
SDL_image-1.2.10-1.el5.rf
SDL-devel-1.2.10-9.el5

Original comment by artis.ab...@gmail.com on 1 Jun 2014 at 9:34

GoogleCodeExporter commented 9 years ago
Same issue re no .pc file. SDL 1.2.10 is very old.

Original comment by acaudw...@gmail.com on 18 Jun 2014 at 1:57