Emiliano wrote:

> > [root@opal mod_midgard-1.4.1]# make
> > /usr/sbin/apxs -c -DHAVE_LIBMIDGARD=1 -DHAVE_MIDGARD_H=1  -I/usr/include
> > -I/usr/lib/glib/include  -lcrypt  -L/usr/lib/mysql -L/usr/lib -L/usr/lib
> > -lglib -lmidgard mod_midgard.c
> > gcc -DLINUX=2 -DMOD_SSL=206106 -DEAPI -DUSE_EXPAT -I../lib/expat-lite -O2
> > -march=i386 -mcpu=i686 -fpic -DSHARED_MODULE -I/usr/include/apache
> > -I/usr/include -I/usr/lib/glib/include -DHAVE_LIBMIDGARD=1
> > -DHAVE_MIDGARD_H=1  -c mod_midgard.c
> > apxs:Break: Command failed with rc=-256
> > make: *** [mod_midgard.so] Error 1
> 
> If you repeat that last line ('gcc ... -c mod_midgard.c') by hand, what
> happens?

Nothing. I figured out what happened. I was getting return code -256 because
I had installed egcs and not gcc. apxs couldn't find the gcc binary, so
I symlinked /usr/bin/egcs to /usr/bin/gcc and apxs was happy. 


--
Steven J. Sobol/CTO/JustThe.net LLC | [EMAIL PROTECTED]
SAY IT LOUD: I'M GEEK AND I'M PROUD! | 888.480.4NET (4638) 216.619.2NET (2638)
http://NorthShoreTechnologies.net | http://ClevelandProductions.com
http://JustThe.net | Powered by Linux, pizza, Coke, Cuervo, and cheap beer.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to