openSUSE Forums > Archives > Novell Archives » recompiling php on 10.1

Go Back   openSUSE Forums > Archives > Novell Archives
Forums FAQ Members List Search Today's Posts Mark Forums Read

Novell Archives Archived content from Novell openSUSE support forums

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 20-Sep-2006, 11:10
anonymous@nodomain.com
Guest
 
Posts: n/a
Default recompiling php on 10.1

I'm trying to recompile php on SuSE 10.1 that but can't seem to find the
aspx2 modules. The configure command includes
'--with-apxs2=/usr/sbin/apxs2-prefork i586-suse-linux' which was a
configuration that worked on SuSE 10.0.

I can't seem to find the apxs2 anywhere on 10.1. I have apache2_mod_perl
installed and perl seems to be working but not apxs2.

Any ideas on how to recompile php to include apxs2 on SuSE 10.1?
  #2 (permalink)  
Old 22-Sep-2006, 08:06
Man-wai CHANG
Guest
 
Posts: n/a
Default Re: recompiling php on 10.1

> '--with-apxs2=/usr/sbin/apxs2-prefork i586-suse-linux' which was a
> configuration that worked on SuSE 10.0.
> Any ideas on how to recompile php to include apxs2 on SuSE 10.1?


SuSE uses RPM right? You could find the installation path of apxs:

login as root
updatedb
locate apxs

For my Ubuntu, it's /usr/bin/apaxs, and it's a part of apache-dev:
toylet@server:~$ locate apxs
/usr/share/man/man1/apxs-ssl.1.gz
/usr/share/man/man1/apxs.1.gz
/usr/share/man/man1/apxs-perl.1.gz
/usr/bin/apxs
/usr/bin/apxs-ssl
/usr/bin/apxs-perl
root@server:/home/toylet # dpkg -S /usr/bin/apxs (`rpm -qf file_name`)
apache-dev: /usr/bin/apxs




--
.~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org
/ v \ Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\ (Ubuntu 6.06) Linux 2.6.18
^ ^ 21:03:02 up 1 day 23:28 1 user load average: 1.07 1.03 1.00
news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk
  #3 (permalink)  
Old 24-Sep-2006, 19:07
nobody@nobody.com
Guest
 
Posts: n/a
Default Re: recompiling php on 10.1

Thanks. The missing piece was the apache2-devel which is not installed by
default and is not included on the installation media. updatedb dis not
seem to work either but ended up that I found it at
ftp.opensuse.org/pub/opensuse/repositories/Apache/SUSE_Linux_10.1/i586/apache2-devel-2.2.3-11.2.i586.rpm.
Once that was installed I discovered that I was also missing the
development package for mm. After downloading and istalling this from
ftp://ftp.ossp.org/pkg/lib/mm/mm-1.4.2.tar.gz I was able to compile php and
get it running with Apache.



> > '--with-apxs2=/usr/sbin/apxs2-prefork i586-suse-linux' which was a
> > configuration that worked on SuSE 10.0.
> > Any ideas on how to recompile php to include apxs2 on SuSE 10.1?

>
> SuSE uses RPM right? You could find the installation path of apxs:
>
> login as root
> updatedb
> locate apxs
>
> For my Ubuntu, it's /usr/bin/apaxs, and it's a part of apache-dev:
> toylet@server:~$ locate apxs
> /usr/share/man/man1/apxs-ssl.1.gz
> /usr/share/man/man1/apxs.1.gz
> /usr/share/man/man1/apxs-perl.1.gz
> /usr/bin/apxs
> /usr/bin/apxs-ssl
> /usr/bin/apxs-perl
> root@server:/home/toylet # dpkg -S /usr/bin/apxs (`rpm -qf file_name`)
> apache-dev: /usr/bin/apxs
>
>
>
>
> --
> .~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org
> / v \ Simplicity is Beauty! May the Force and Farce be with you!
> /( _ )\ (Ubuntu 6.06) Linux 2.6.18
> ^ ^ 21:03:02 up 1 day 23:28 1 user load average: 1.07 1.03 1.00
> news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk


 

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2