Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to build from source with multiarch environment #80

Open
GoogleCodeExporter opened this issue Mar 15, 2016 · 0 comments
Open

Fails to build from source with multiarch environment #80

GoogleCodeExporter opened this issue Mar 15, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 19 Dec 2012 at 8:15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant