EPalmas345 / gpuocelot

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

Fails to build from source with multiarch environment #80

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. In Debian sid, install the build dependencies for gpuocelot.
2. Check out the source of gpuocelot from SVN
3. run ./build.py

What is the expected output? What do you see instead?

Building correctly. Failure of build when trying to find some header files 
(e.g., stdarg.h) and some libraries (e.g., libGLEW.so).

What version of the product are you using? On what operating system?

gpuocelot revision 2154.

Debian sid i386 (the basis for Ubuntu, essentially), with the following in 
place (sorry for misaligned output):

ii  bison                       2:2.5.dfsg-3       i386               
YACC-compatible parser generator
ii  flex                        2.5.35-10.1        i386               A fast 
lexical analyzer generator.
ii  libboost-all-dev            1.49.0.1           i386               Boost C++ 
Libraries development files (ALL) (default versio
ii  libglew-dev:i386            1.7.0-3            i386               OpenGL 
Extension Wrangler - development environment
ii  libglu1-mesa-dev            8.0.5-3            i386               Mesa 
OpenGL utility library -- development files
ii  llvm-3.1-dev                3.1-3~exp7         i386               Low-Level 
Virtual Machine (LLVM), libraries and headers
ii  scons                       2.1.0-1            all                
replacement for make

Please provide any additional information below.

During the build, one of the first things that I get is a message like "Glew 
disabled: not found". This is because (according to config.log), it tried to 
compile things as:

g++ -o .sconf_temp/conftest_0 .sconf_temp/conftest_0.o -L/usr/lib -lGLEW

Note the -L option. But on a recent Debian environment, libGLEW.so is at:

$ dpkg -L libglew-dev | grep so
/usr/lib/i386-linux-gnu/libGLEW.so

Original issue reported on code.google.com by rbr...@gmail.com on 19 Dec 2012 at 8:15