scons fail

Bugs should be reported at https://savannah.nongnu.org/bugs/?group=glob2
This section is read only for reference.
Locked
Greetings
Posts: 1
Joined: Sun Dec 16, 2007 6:52 am

scons fail

Post by Greetings » Sun Dec 16, 2007 7:02 am

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?

User avatar
Donkyhotay
Warrior
Warrior
Posts: 141
Joined: Sat Mar 04, 2006 4:03 am

Post by Donkyhotay » Mon Dec 17, 2007 9:49 pm

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.
do not be afraid to joust a giant just because some people insist on believing in windmills.

User avatar
Donkyhotay
Warrior
Warrior
Posts: 141
Joined: Sat Mar 04, 2006 4:03 am

Post by Donkyhotay » Tue Dec 25, 2007 2:19 am

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.
do not be afraid to joust a giant just because some people insist on believing in windmills.

Breadstic
Posts: 2
Joined: Fri Jan 25, 2008 12:32 pm

Post by Breadstic » Mon Jan 28, 2008 12:21 am

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.

User avatar
Giszmo
Warrior
Warrior
Posts: 261
Joined: Sat Nov 26, 2005 10:23 pm
Location: Germany
Contact:

Post by Giszmo » Sun Feb 03, 2008 10:51 pm

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 ;)

K776
Warrior
Warrior
Posts: 61
Joined: Sat Nov 26, 2005 10:23 pm
Location: New Zealand
Contact:

Re: scons fail

Post by K776 » Tue Apr 08, 2008 7:54 am

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.

Locked