Page 1 of 1

scons fail

Posted: Sun Dec 16, 2007 7:02 am
by Greetings
I have debian etch, i dont use Synaptic because glob isn't up to date.
Well, download, uncompress,install lib... ,intit scons etc.

But:

debian:/home/gerardo/Desktop/glob2-0.9.1# scons
scons: Reading SConscript files ...
Checking for C library SDL... (cached) yes
Checking for C library SDL_ttf... (cached) yes
Checking for C library SDL_image... (cached) yes
Checking for C library SDL_net... (cached) yes
Checking for C library speex... (cached) yes
Checking for C header file speex/speex.h... (cached) yes
Checking for C library vorbisfile... (cached) yes
Checking for C header file zlib.h... (cached) yes
Checking for C library z... (cached) yes
Checking for C library boost_thread... (cached) yes
Checking for C++ header file boost/thread/thread.hpp... (cached) yes
Checking for C++ header file boost/shared_ptr.hpp... (cached) yes
Checking for C++ header file boost/tuple/tuple.hpp... (cached) yes
Checking for C++ header file boost/tuple/tuple_comparison.hpp... (cached) yes
Checking for C++ header file boost/logic/tribool.hpp... (cached) yes
Checking for C++ header file boost/lexical_cast.hpp... (cached) yes
Checking for C library GL... (cached) yes
Checking for C header file GL/gl.h... (cached) yes
Checking for C library GLU... (cached) yes
Checking for C header file GL/glu.h... (cached) yes
Checking for C library fribidi... (cached) yes
Checking for C header file fribidi/fribidi.h... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
o libgag/src/BinaryStream.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL libgag/src/BinaryStream.cpp
sh: o: command not found
o libgag/src/CursorManager.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL libgag/src/CursorManager.cpp
sh: o: command not found
o libgag/src/FileManager.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL libgag/src/FileManager.cpp
sh: o: command not found
o libgag/src/FormatableString.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL libgag/src/FormatableString.cpp
sh: o: command not found
o libgag/src/GraphicContext.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL libgag/src/GraphicContext.cpp
sh: o: command not found
o libgag/src/GUIAnimation.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL libgag/src/GUIAnimation.cpp
sh: o: command not found
o libgag/src/GUIBase.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL libgag/src/GUIBase.cpp
sh: o: command not found
o libgag/src/GUIButton.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL libgag/src/GUIButton.cpp
sh: o: command not found
o libgag/src/GUIFileList.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL libgag/src/GUIFileList.cpp
sh: o: command not found
o libgag/src/GUIKeySelector.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL libgag/src/GUIKeySelector.cpp
sh: o: command not found
o libgag/src/GUIList.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL libgag/src/GUIList.cpp
sh: o: command not found
o libgag/src/GUIMessageBox.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL libgag/src/GUIMessageBox.cpp
sh: o: command not found
o libgag/src/GUINumber.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL libgag/src/GUINumber.cpp
sh: o: command not found
o libgag/src/GUIRatio.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL libgag/src/GUIRatio.cpp
sh: o: command not found
o libgag/src/GUISelector.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL libgag/src/GUISelector.cpp
sh: o: command not found
o libgag/src/GUIStyle.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL libgag/src/GUIStyle.cpp
sh: o: command not found
o libgag/src/GUITextArea.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL libgag/src/GUITextArea.cpp
sh: o: command not found
o libgag/src/GUIText.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL libgag/src/GUIText.cpp
sh: o: command not found
o libgag/src/GUITextInput.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL libgag/src/GUITextInput.cpp
sh: o: command not found
o libgag/src/KeyPress.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL libgag/src/KeyPress.cpp
sh: o: command not found
o libgag/src/Sprite.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL libgag/src/Sprite.cpp
sh: o: command not found
o libgag/src/StreamBackend.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL libgag/src/StreamBackend.cpp
sh: o: command not found
o libgag/src/Stream.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL libgag/src/Stream.cpp
sh: o: command not found
o libgag/src/StreamFilter.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL libgag/src/StreamFilter.cpp
sh: o: command not found
o libgag/src/StringTable.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL libgag/src/StringTable.cpp
sh: o: command not found
o libgag/src/SupportFunctions.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL libgag/src/SupportFunctions.cpp
sh: o: command not found
o libgag/src/TextStream.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL libgag/src/TextStream.cpp
sh: o: command not found
o libgag/src/Toolkit.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL libgag/src/Toolkit.cpp
sh: o: command not found
o libgag/src/TrueTypeFont.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL libgag/src/TrueTypeFont.cpp
sh: o: command not found
o libgag/src/win32_dirent.o -c -g -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL libgag/src/win32_dirent.cpp
sh: o: command not found
ar rc libgag/src/libgag.a libgag/src/BinaryStream.o libgag/src/CursorManager.o libgag/src/FileManager.o libgag/src/FormatableString.o libgag/src/GraphicContext.o libgag/src/GUIAnimation.o libgag/src/GUIBase.o libgag/src/GUIButton.o libgag/src/GUIFileList.o libgag/src/GUIKeySelector.o libgag/src/GUIList.o libgag/src/GUIMessageBox.o libgag/src/GUINumber.o libgag/src/GUIRatio.o libgag/src/GUISelector.o libgag/src/GUIStyle.o libgag/src/GUITextArea.o libgag/src/GUIText.o libgag/src/GUITextInput.o libgag/src/KeyPress.o libgag/src/Sprite.o libgag/src/StreamBackend.o libgag/src/Stream.o libgag/src/StreamFilter.o libgag/src/StringTable.o libgag/src/SupportFunctions.o libgag/src/TextStream.o libgag/src/Toolkit.o libgag/src/TrueTypeFont.o libgag/src/win32_dirent.o
ar: libgag/src/BinaryStream.o: No such file or directory
scons: *** [libgag/src/libgag.a] Error 1
scons: building terminated because of errors.
debian:/home/gerardo/Desktop/glob2-0.9.1#



I use mkdist but only dissapear (catched)
I nothing happen with mkisntall, same as above

Please anwere
Do I must wait .deb packages?

Posted: Mon Dec 17, 2007 9:49 pm
by Donkyhotay
I got this too, I didn't use the scripts but did it manually with just plain
scons
and ran into the exact same error. I've compiled glob2 many times before with scons and have never gotten this until now. I suspect something is broken in the scons files since the files it says don't exist actually do exist if you go through the file system.

Posted: Tue Dec 25, 2007 2:19 am
by Donkyhotay
On my system I had forgotten to reinstall the g++ compiler (I went through a recent reformat). If your using ubuntu install build-essential which conveniently handles all of the compilers. If your using some other distro then make certain you have some variant of g++ on your system.

Posted: Mon Jan 28, 2008 12:21 am
by Breadstic
I had the same problem on my computer.
I think I fixed mine by doing the following:
I had two copies of SDL on my computer. One in /usr/include/SDL and one in /usr/local/include/SDL
So i looked to see which directory had more files and which were newer (in my case /usr/include/SDL), then deleted /usr/local/include/SDL and created a symbolic link from /usr/local/include/SDL to /usr/include/SDL

i.e.
sudo rm -r /usr/local/include/SDL
sudo ln -s /usr/include/SDL /usr/local/include/SDL

I would be sure to check that the files in /usr/include/SDL are the ones that you actually want though. And be sure to run:
scons --config=force to make it ignore it's cached configuration.

Posted: Sun Feb 03, 2008 10:51 pm
by Giszmo
it definitely is compiler related. today i wanted to speed-test my new nas and compiled glob2 on it and ran into exactly the same trouble. it is inconvenient to be told what's missing up to that point and then be left alone.
i had to run "apt-get install g++" and now it works.

unfortunately my nas takes 402s to compile glob2 while my main pc only takes 81s so even if i were to compile my amd64 binaries via distcc the nas would not be of much service ;)

Re: scons fail

Posted: Tue Apr 08, 2008 7:54 am
by K776
As of beta3's release (coming soon), scons script should now check for a compiler, and report back if none are found. If you still experience this problem after the release, please let us know.