[horde] problems compiling apache and PHP for use with horde

Arthur Gong agoo22 at yahoo.com
Mon Apr 1 10:57:44 PST 2002


Looked at your message. A few questions

- you rebuilt PHP based on Apache 1.3.23, then you use this rebuilt PHP
to build Apache 1.3.24. It involved different version of Apache. Not
sure if it caused problem.

- I always thought Apache need be built before PHP.

The one working for me was use the compiled Apache and build PHP
with-apxs instead of with-apache. It was on Solaris8.

Hope it helps. Good luck!

Arthur Gong


-----Original Message-----
From: Bo Nelson [mailto:rxn20 at hal.epbi.cwru.edu] 
Sent: Monday, April 01, 2002 1:41 PM
To: horde at lists.horde.org
Subject: [horde] problems compiling apache and PHP for use with horde


I'm sure somewhere out there, one of you has compiled apache and php for

use with horde with the options that I have specified. I've tried
posting 
to a couple of different newsgroups, but no one has even replied. I'm 
hoping someone on this list will have some insight. Thanks

Basically, I need to recompile php and apache with the options that
horde 
says they need. I've already got php and apache working with ssl, so I
know 
that my current config.status for apache is working. This is on a
Solaris 8 
machine. Here are the configuration options that I pass to php:

./configure --with-mysql=/usr/local/mysql --with-apache=../apache_1.3.23

--with-zlib --with-gettext --with-xml --with-mcrypt 
--with-imap=../../horde/imap-2001a/ --with-imap-ssl=../openssl-0.9.6c

That works fine, then I make and make install it. Everything seems to go

ok, no complaints. I then go to apache, and here is the config.status
that 
I use:

EAPI_MM="../mm-1.1.3" \
SSL_BASE="../openssl-0.9.6c" \
./configure \
"--with-layout=GNU" \
"--prefix=/usr/local/apache" \
"--enable-module=rewrite" \
"--enable-module=ssl" \
"--enable-module=so" \
"--enable-rule=SSL_SDBM" \
"--activate-module=src/modules/php4/libphp4.a" \ "$@"

Configure goes fine. When I try to make apache, these are the error 
messages that I get:


Undefined first referenced
symbol in file
rfc822_parse_msg_full modules/php4/libphp4.a(php_imap.o)
imap_getquota modules/php4/libphp4.a(php_imap.o)
imap_setquota modules/php4/libphp4.a(php_imap.o)
imap_setacl modules/php4/libphp4.a(php_imap.o)
ssl_onceonlyinit modules/php4/libphp4.a(php_imap.o)
ld: fatal: Symbol referencing errors. No output written to httpd
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `target_static' Current
working directory /meta/d9/rxn20/src/projects/apache/apache_1.3.24/src
*** Error code 1
make: Fatal error: Command failed for target `build-std' Current working
directory /meta/d9/rxn20/src/projects/apache/apache_1.3.24
*** Error code 1
make: Fatal error: Command failed for target `build'



Any and all suggestions are welcome, and I really appreciate any help. 
Thanks in advance

-Bo Nelson
rxn20 at p-i.cc


-- 
Horde mailing list: http://horde.org/horde/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe at lists.horde.org


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



>From mail at krel.org Date: Thu,  4 Apr 2002 01:35:56 -0500
Return-Path: <mail at krel.org>
Mailing-List: contact horde-help at lists.horde.org; run by ezmlm
Delivered-To: mailing list horde at lists.horde.org
Received: (qmail 29536 invoked from network); 4 Apr 2002 06:35:49 -0000
Received: from alchemistry.net (zsxery at 66.114.66.158)
  by clark.horde.org with SMTP; 4 Apr 2002 06:35:49 -0000
Received: from root by alchemistry.net with scanned-ok (Exim 3.35 #1)
	id 16t0ql-0005xg-00
	for horde at lists.horde.org; Thu, 04 Apr 2002 01:35:59 -0500
Received: from [127.0.0.1] (helo=localhost)
	by alchemistry.net with esmtp (Exim 3.35 #1)
	id 16t0qj-0005xW-00
	for horde at lists.horde.org; Thu, 04 Apr 2002 01:35:57 -0500
Received: from 141.202.246.11 ( [141.202.246.11])
	as user mail at krel.org by krel.org with HTTP;
	Thu,  4 Apr 2002 01:35:56 -0500
Message-ID: <1017902156.3cabf44cd77e8 at krel.org>
Date: Thu,  4 Apr 2002 01:35:56 -0500
From: Ilya <mail at krel.org>
To: horde at lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
X-Virus-Scanned: by AMaViS snapshot-20010714
Subject: empty page with HEAD cvs 



I have just upgraded to HEAD of everything.
Horde: 3.0-cvs 
IMP: 4.0-cvs (run IMP tests) 
Turba: 2.0-cvs 
Nic: 0.0.2-cvs 
Kronolith: 2.0-cvs 
Jonah: 0.0.3-cvs (run Jonah tests) 
Troll: 0.0.2-cvs 
Nag: 2.0-cvs 

I went through all configurations, and setup everything (checked twice, and
actually redid once). But whenever I go to root of horde I get empty page. Not
even blank as some reported but just empty.
no errors are logged into horde.log (DEBUG on), pgp.log or apache log.
I can than point browser to /imp (my horde is in root), and I get login page
with username/pass. From that page I can login successfully (according to imap
log). But it then redirects me to empty page again.
test.php works fine for both horde and imp(PHP IMAP Support Test runs properly).


Any suggestions? Thank you.

PHP Version
View phpinfo() screen 
PHP Version: 4.1.2 
PHP Major Version: 4.1 
PHP Minor Version: 2 
PHP Version Classification: release 
You are running a supported version of PHP.
PHP Module Capabilities
FTP Support: Yes 
Gettext Support: Yes 
IMAP Support: Yes 
LDAP Support: No 
MCAL Support: Yes 
Mcrypt Support: Yes 
MySQL Support: Yes 
PostgreSQL Support: No 
XML Support: Yes 
Miscellaneous PHP Settings
magic_quotes_runtime set to Off: Yes 
PHP Sessions
Session counter: 1 
To unregister the session: click here 
PEAR
PEAR - Yes 
Recent PEAR - Yes 
Mail::RFC822 - Yes 
Log - Yes 
DB - Yes 




>From jan at horde.org Date: Thu,  4 Apr 2002 17:36:50 +0200
Return-Path: <jan at horde.org>
Mailing-List: contact horde-help at lists.horde.org; run by ezmlm
Delivered-To: mailing list horde at lists.horde.org
Received: (qmail 52322 invoked from network); 4 Apr 2002 16:23:08 -0000
Received: from mailout08.sul.t-online.com (194.25.134.20)
  by clark.horde.org with SMTP; 4 Apr 2002 16:23:08 -0000
Received: from fwd00.sul.t-online.de 
	by mailout08.sul.t-online.com with smtp 
	id 16t9JS-0000f9-0D; Thu, 04 Apr 2002 17:38:10 +0200
Received: from linux.wg.de (320034214675-0001@[217.88.135.229]) by fmrl00.sul.t-online.com
	with esmtp id 16t9JD-0gzg6iC; Thu, 4 Apr 2002 17:37:55 +0200
Received: from localhost (localhost [127.0.0.1])
	by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id g34Faon20809
	for <horde at lists.horde.org>; Thu, 4 Apr 2002 17:36:51 +0200
Received: from 192.168.60.158 ( [192.168.60.158])
	as user jan at mail.wg.de by jan.dip.ammma.net with HTTP;
	Thu,  4 Apr 2002 17:36:50 +0200
Message-ID: <1017934610.3cac73121b23a at jan.dip.ammma.net>
Date: Thu,  4 Apr 2002 17:36:50 +0200
From: Jan Schneider <jan at horde.org>
To: horde at lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 3.1-cvs
X-Sender: 320034214675-0001 at t-dialin.net
Subject: Fwd: CVS



----- Weitergeleitete Nachricht von G G Papazoglou <grp at med.uoc.gr> -----
    Datum: Sat, 30 Mar 2002 15:30:06 +0200
    Von: G G Papazoglou <grp at med.uoc.gr>
Antwort an: G G Papazoglou <grp at med.uoc.gr>
 Betreff: CVS
      An: jan at horde.org

Hi. I still don't get it. I use the cvs commands as shown in your site. I
download the updated version in the directory

/usr/local/apache/htdocs/horde/horde (Since I execute the commands inside
/usr/local/apache/htdocs/horde). So then I cd to that directory, and execute
"cvs update -Pd". There is progress shown, no error message, yet my files
remain unchanged. What am I doing wrong?

Also, in case I manage to make it work, should I backup my config files?
Will they be invalid after the upgrade?

I have installed from the tarballs

Greg
Sys Admin
grp at med.uoc.gr


----- Ende der weitergeleiteten Nachricht -----


Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft




More information about the horde mailing list