errors on compile...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
x222943
Forum Newbie
Posts: 5
Joined: Thu Jul 25, 2002 11:39 pm

errors on compile...

Post 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?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post 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 )
x222943
Forum Newbie
Posts: 5
Joined: Thu Jul 25, 2002 11:39 pm

Post by x222943 »

volka wrote: - make dist-clean

would i put that in the configuration line?
User avatar
hob_goblin
Forum Regular
Posts: 978
Joined: Sun Apr 28, 2002 9:53 pm
Contact:

Post by hob_goblin »

bumping for a friend ;)
x222943
Forum Newbie
Posts: 5
Joined: Thu Jul 25, 2002 11:39 pm

Post by x222943 »

ive alleady got this fixed ;) go be a friend and bump the other post ;)
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post 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
Post Reply