Before you run configure, you need to run something like this in the terminal:
'export PATH=$PATH;/path/to/gcc/bin/directory/'
ok, I will try, but I have to find out what is the path to gcc bin directory ! I tryied to install a gcc-ipkg to a sd card, and now, I have a /mnt/card/usr/bin/arm-linuxgcc and arm-linux-cpp files. Is this /mnt/card/usr/bin/ the right path ? I will check and try.
P.S. Looks like your apache install has a problem (it was presumably a Sharp ROM version, you want to look at the script under <mount point>/usr/lib/ipkg/scripts/ to see whether there's a path/binary which doesn't exist, but which is used in the script).
ok, I will check this script, but I managed to run apache nicely yesterday (well, it just served me a basic html page, but gave me a lot of satisfaction !). It was complaining at startup about missing log file in /var/log/apache/ so I created the /apache directory in /var/log and that made it. But after reboot, this /apache directory had disappeared from /var/log ... ! So I will try either to have it stay at each shutdown, or create it automatically at startup, or change the log file path in apache conf. This should not be too much a problem.
P.P.S What are you trying to compile? Unless it's a trivial program, you may have troubles with other binaries which it needs, but which you don't have installed - have you thought about cross-compiling with OE?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
I want to compile MapServer ( [a href=\"http://mapserver.gis.umn.edu]http://mapserver.gis.umn.edu[/url] ), a kind of GIS software (geographical Informations System) also called "webmapping".
I am almost sure that it won't be easy at all, but I want to know if it is possible, and use it if yes. Actually, this is why I bought a Z a few days ago; I'm no geek at all yet, but might fall in it ! Depending on the ./configure options, MapServer might need some other libraries to compile fine. I am going to look at the compilator output when.... it will start !
Basic MapServer (without special ./configure options) compiles quite well on almost any linux box, so I suppose it should also on Z...
I have seen on this forum and elsewhere a lot of informations about C compilation, gcc-2.x, gcc--3.x, zgcc, and more. I am not a compilator expert so I have to read all this messages in details to understand how it works on Z. For sure, I will need a bit more help later... :-)
Cross-compilation ? Ha ? Sorry about that. I learnt almost all I know about computers by myself; and myself did not told me anything about cross-compilation ! Does that mean compiling something on another computer (such a linux PC) and then putting the resulting files in the Z ? I think I have read that somewhere ? Yes, it sounds really nice and I would be glad to try that. Complex MapServer configurations take quite a lot of time to compile on a PC, so I really wonder how long it will on a Z...
But isn't cross-compilation making things more difficult (synchronise PC and Z compilators, libraries, pathes... ?). I'll read about it and try to set it up, but I think the easyest way for me for now would be to compile on the Z, am I wrong ?
So I'm gonna read the docs again and I'll be back.
tks
Blaise