opps, I mean /usr/lib/ sry bout that. But I uninstalled gcc 4.x (which was making a lot of bugs with kde appear), and GLEW started working :/ But still errors :(
running build_ext building 'soya._soya' extension creating build/temp.linux-i686-2.4 gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fPIC -Iode-0.5/include -I/usr/include -I/usr/local/include -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/local/include/freetype2 -I/usr/include/cal3d -I/usr/local/include/cal3d -I/sw/include -I/usr/include/python2.4 -c _soya.c -o build/temp.linux-i686-2.4/_soya.o -w _soya.c: In function ‘__pyx_f_5_soya_6_Point___deepcopy__’: _soya.c:4309: error: invalid lvalue in assignment _soya.c:4330: error: invalid lvalue in assignment _soya.c:4334: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_6_Point_6parent___set__’: _soya.c:4493: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_6_Point_set_parent’: _soya.c:4519: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_6_Point___init__’: _soya.c:4682: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_6_Point_convert_to’: _soya.c:5342: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_6_Point_clone’: _soya.c:5459: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_7_Vector_set_start_end’: _soya.c:6284: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_8Renderer___init__’: _soya.c:6446: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_8Renderer__reset’: _soya.c:6806: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_8Renderer__render’: _soya.c:6968: error: invalid lvalue in assignment _soya.c:7041: error: invalid lvalue in assignment _soya.c:7078: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_8Renderer__render_list’: _soya.c:7253: error: invalid lvalue in assignment _soya.c:7261: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_14_SkyAtmosphere___setcstate__’: _soya.c:9733: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_14_SkyAtmosphere_5cloud___set__’: _soya.c:10102: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_make_raypick_result’: _soya.c:10858: error: invalid lvalue in assignment _soya.c:10861: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_get_raypick_data’: _soya.c:10947: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_14RaypickContext___init__’: _soya.c:10985: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_9CoordSyst_added_into’: _soya.c:11898: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_7_Volume___init__’: _soya.c:15437: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_7_Volume_5shape___set__’: _soya.c:15496: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_7_Volume_set_shape’: _soya.c:15522: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_7_Volume___setcstate__’: _soya.c:15583: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_6_World_9shapifier___set__’: _soya.c:15957: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_6_World_10atmosphere___set__’: _soya.c:16000: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_6_World___setcstate__’: _soya.c:16125: error: invalid lvalue in assignment _soya.c:16138: error: invalid lvalue in assignment _soya.c:16143: error: invalid lvalue in assignment _soya.c:16165: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_6_World__batch’: _soya.c:16359: error: invalid lvalue in assignment _soya.c:16362: error: invalid lvalue in assignment _soya.c:16375: error: invalid lvalue in assignment _soya.c:16381: error: invalid lvalue in assignment _soya.c:16431: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_6_World_insert’: _soya.c:17290: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_6_World_RaypickContext’: _soya.c:18125: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_7_Camera___setcstate__’: _soya.c:20548: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_7_Camera_9to_render___set__’: _soya.c:20656: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_7_Camera__subrender_scene’: _soya.c:21567: error: invalid lvalue in assignment _soya.c:21675: error: invalid lvalue in assignment _soya.c:21684: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_7_Portal_6beyond___set__’: _soya.c:22513: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_7_Portal__batch’: _soya.c:23360: error: invalid lvalue in assignment _soya.c:23445: error: invalid lvalue in assignment _soya.c:23451: error: invalid lvalue in assignment _soya.c:23456: error: invalid lvalue in assignment _soya.c:23461: error: invalid lvalue in assignment _soya.c:23486: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_16_TravelingCamera___init__’: _soya.c:24193: error: invalid lvalue in assignment _soya.c:24206: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_16_TravelingCamera_add_traveling’: _soya.c:24249: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_16_TravelingCamera_pop_traveling’: _soya.c:24289: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_16_TravelingCamera_remove_traveling’: _soya.c:24342: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_9Traveling_10incline_as___set__’: _soya.c:24954: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_13_FixTraveling_6target___set__’: _soya.c:25143: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_13_FixTraveling_9direction___set__’: _soya.c:25186: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_13_FixTraveling___init__’: _soya.c:25227: error: invalid lvalue in assignment _soya.c:25254: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_21_ThirdPersonTraveling_6target___set__’: _soya.c:25417: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_21_ThirdPersonTraveling_9direction___set__’: _soya.c:25460: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_21_ThirdPersonTraveling___init__’: _soya.c:25720: error: invalid lvalue in assignment _soya.c:25725: error: invalid lvalue in assignment _soya.c:25735: error: invalid lvalue in assignment _soya.c:25746: error: invalid lvalue in assignment _soya.c:25757: error: invalid lvalue in assignment _soya.c:25785: error: invalid lvalue in assignment _soya.c:25796: error: invalid lvalue in assignment _soya.c:25807: error: invalid lvalue in assignment _soya.c:25838: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_21_ThirdPersonTraveling_best_position’: _soya.c:25935: error: invalid lvalue in assignment _soya.c:25994: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_9_Material___init__’: _soya.c:27592: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_9_Material___setcstate__’: _soya.c:27710: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_9_Material__activate’: _soya.c:28128: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_9_Material_inactivate’: _soya.c:28356: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_9_Material_7texture___set__’: _soya.c:28726: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_7_Vertex___setcstate__’: _soya.c:29626: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_5_Face_8material___set__’: _soya.c:30366: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_5_Face___init__’: _soya.c:30484: error: invalid lvalue in assignment _soya.c:30507: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_5_Face___setcstate__’: _soya.c:30594: error: invalid lvalue in assignment _soya.c:30613: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_5_Face_insert’: _soya.c:30664: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_5_Face_append’: _soya.c:30710: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_5_Face__compute_normal’: _soya.c:30813: error: invalid lvalue in assignment _soya.c:30820: error: invalid lvalue in assignment _soya.c:30856: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_5_Face__raypick’: _soya.c:31779: error: invalid lvalue in assignment _soya.c:31794: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_12_SimpleShape__compute_vertex_normals’: _soya.c:35005: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_12_SimpleShape__face_raypick’: _soya.c:36623: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_17_CellShadingShape___setcstate__’: _soya.c:38405: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_17_CellShadingShape__build_cellshading’: _soya.c:38433: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_7_Sprite_8material___set__’: _soya.c:41376: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_7_Sprite___init__’: _soya.c:41483: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_7_Sprite___setcstate__’: _soya.c:41579: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_15_CylinderSprite___setcstate__’: _soya.c:41884: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_6_Bonus___setcstate__’: _soya.c:42162: error: invalid lvalue in assignment _soya.c:42167: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_6_Bonus_8material___set__’: _soya.c:42313: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_6_Bonus_4halo___set__’: _soya.c:42356: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_6_Bonus___init__’: _soya.c:42467: error: invalid lvalue in assignment _soya.c:42481: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_10_Particles___setcstate__’: _soya.c:42824: error: invalid lvalue in assignment _soya.c:42829: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_10_Particles_8material___set__’: _soya.c:42940: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_10_Particles_18particle_coordsyst___set__’: _soya.c:42986: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_10_Particles___init__’: _soya.c:43362: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_12FlagFirework___init__’: _soya.c:45942: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_5_Land__tri_raypick’: _soya.c:51177: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_5_Land__full_raypick’: _soya.c:51290: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_20CellShadingShapifier_6shader___set__’: _soya.c:53875: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_20CellShadingShapifier___init__’: _soya.c:54071: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_20CellShadingShapifier___setcstate__’: _soya.c:54170: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_parse_cal3d_cfg_file’: _soya.c:55012: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_13_Cal3dSubMesh__build’: _soya.c:55192: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_11_Cal3dShape_set_cellshading’: _soya.c:55954: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_12_Cal3dVolume___setcstate__’: _soya.c:58999: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_12_Cal3dVolume_set_shape’: _soya.c:59405: error: invalid lvalue in assignment _soya.c:59413: error: invalid lvalue in assignment _soya.c: In function ‘__pyx_f_5_soya_12_Cal3dVolume__raypick’: _soya.c:60929: error: invalid lvalue in assignment error: command 'gcc' failed with exit status 1 On Sunday 15 January 2006 3:43 pm, Dunk Fordyce wrote: > libGLEW.so should *not* be in /usr/bin! > > i dont know how you have managed that but it and nearly all libs need to be > in /usr/lib or /usr/local/lib > > put the file(s) there and run ldconfig as root > > On Sunday 15 January 2006 18:36, Joey Marshall wrote: > > no, I have it right in /usr/bin/ > > > > It's wierd though, I didn't have trouble with glew when trying to > > install 10.1 :/ > > > > Or are there any 3d engines out there that are as good as soya that are > > easier to install (I wish soya had an .egg)? Excluding panda... that's > > too big for my liking. > > > > The main resion I'm wanting to use soya is because of it's > > documentation... but I don't know if I'll ever get it working :( > > > > On Sun, 15 Jan 2006 16:56:44 +0000, "Dunk Fordyce" > > > > <[EMAIL PROTECTED]> said: > > > where is your glew installed? /usr/local/lib/libGLEW.so ? or is it > > > in /usr/local? > > > if its the first you might need to add /usr/local/lib to > > > /etc/ld.so.conf and > > > run ldconfig > > > > > > On Sunday 15 January 2006 16:35, Joey wrote: > > > > well, tried installing the cvs version... but: > > > > > > > > > > > > ODE and OPCODE have already been compiled; if you want to recompile > > > > them do: cd ode-0.5 ; make clean > > > > running build > > > > running build_py > > > > running build_ext > > > > building 'soya._soya' extension > > > > gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=i586 > > > > -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fPIC > > > > -Iode-0.5/include -I/usr/include -I/usr/local/include > > > > -I/usr/X11R6/include > > > > -I/usr/include/freetype2 -I/usr/local/include/freetype2 > > > > -I/usr/include/cal3d -I/usr/local/include/cal3d -I/sw/include > > > > -I/usr/include/python2.4 -c _soya.c -o > > > > build/temp.linux-i686-2.4/_soya.o -w gcc -pthread > > > > -fno-strict-aliasing -DNDEBUG -O2 -march=i586 -mtune=i686 > > > > -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fPIC > > > > -Iode-0.5/include -I/usr/include -I/usr/local/include > > > > -I/usr/X11R6/include > > > > -I/usr/include/freetype2 -I/usr/local/include/freetype2 > > > > -I/usr/include/cal3d -I/usr/local/include/cal3d -I/sw/include > > > > -I/usr/include/python2.4 -c matrix.c -o > > > > build/temp.linux-i686-2.4/matrix.o -w > > > > gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=i586 > > > > -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fPIC > > > > -Iode-0.5/include -I/usr/include -I/usr/local/include > > > > -I/usr/X11R6/include > > > > -I/usr/include/freetype2 -I/usr/local/include/freetype2 > > > > -I/usr/include/cal3d -I/usr/local/include/cal3d -I/sw/include > > > > -I/usr/include/python2.4 -c chunk.c -o > > > > build/temp.linux-i686-2.4/chunk.o -w gcc -pthread -shared > > > > build/temp.linux-i686-2.4/_soya.o > > > > build/temp.linux-i686-2.4/matrix.o build/temp.linux-i686-2.4/chunk.o > > > > -Lode-0.5/lib -L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib -L/sw/lib/ > > > > -lm -lGLEW -lSDL -lfreetype -lcal3d -lstdc++ -o > > > > build/lib.linux-i686-2.4/soya/_soya.so > > > > /usr/bin/ld: cannot find -lGLEW > > > > collect2: ld returned 1 exit status > > > > error: command 'gcc' failed with exit status 1 > > > > > > > > > > > > > > > > I have GLEW installed (got it when trying to install soya 10.1)... > > > > but then, I'm not sure what the problem here is :P > > > > > > > > On Sunday 15 January 2006 12:27 pm, Dunk Fordyce wrote: > > > > > just to note it must be pyrex 0.9.3.1 - the .1 is important as > > > > > thats when the gcc4 patches got applied > > > > > > > > > > On Sunday 15 January 2006 15:12, Rory Yorke wrote: > > > > > > Dunk Fordyce <[EMAIL PROTECTED]> writes: > > > > > > >> How would I get gcc 3.4? I don't have it in my SuSE > > > > > > >> repositories. You think that would really make a difference > > > > > > >> having an older version of it? > > > > > > > > > > > > Does SuSE use gcc 4.0 for its kernel? > > > > > > > > > > > > I'd recommend using Soya from CVS -- I have managed to compile > > > > > > that on Ubuntu 5.10, using gcc 4.0.2 and Pyrex 0.9.3. > > > > > > > > > > > > I did fail to compile Soya 0.10.1, with similar errors to Joey's, > > > > > > though in _ode.c, not _soya.c. Oddly enough, Ubuntu provide Soya > > > > > > 0.10.1 as a .deb, so they must have build rules which work. > > > > > > > > > > > > Hope this helps, > > > > > > > > > > > > Rory > > > > > > > > > > > > _______________________________________________ > > > > > > Soya-user mailing list > > > > > > [email protected] > > > > > > https://mail.gna.org/listinfo/soya-user > > > > > > > > > > _______________________________________________ > > > > > Soya-user mailing list > > > > > [email protected] > > > > > https://mail.gna.org/listinfo/soya-user > > > > > > > > _______________________________________________ > > > > Soya-user mailing list > > > > [email protected] > > > > https://mail.gna.org/listinfo/soya-user > > > > > > _______________________________________________ > > > Soya-user mailing list > > > [email protected] > > > https://mail.gna.org/listinfo/soya-user > > _______________________________________________ > Soya-user mailing list > [email protected] > https://mail.gna.org/listinfo/soya-user
