Page 1 of 1

errors on compile...

Posted: Thu Jul 25, 2002 11:39 pm
by x222943
im running redhat 7.2, and apache 2.0.35 with mod_ssl and open_ssl

when i configure, compile and install apache, everything works fine...

when i configure php, using,
./configure --with-mysql --with-apxs2=/www/bin/apxs
it configures fine... when i go to 'make' it, i get,
stub.lo: file not recognized: file truncated
collect2: 1d returned 1 exit status
make[1]: *** [libphp4.la] error 1
make[1]: leaving directory '/junk/php-4.2.2'
make: *** [all-recursive error 1

and then it stops... anyone have any idea whats causing this and how i can sucessfully get it installed?

Posted: Fri Jul 26, 2002 6:38 am
by volka
I encountered the problem once, but I'm not sure which of the following steps solved it ;)
- update php (if not newest version)
- ensure apache has so_module compiled in (optional under unix/linux)
- make dist-clean
- recompile apache & php



- try gentoo-linux (I gonna love this thing :D )

Posted: Fri Jul 26, 2002 3:30 pm
by x222943
volka wrote: - make dist-clean

would i put that in the configuration line?

Posted: Sat Jul 27, 2002 2:02 am
by hob_goblin
bumping for a friend ;)

Posted: Sat Jul 27, 2002 2:06 am
by x222943
ive alleady got this fixed ;) go be a friend and bump the other post ;)

Posted: Sun Jul 28, 2002 10:14 am
by twigletmac
It's always nice to tell people how you solved a problem so that if someone else has the same thing they know at least one way of solving it...

Mac