Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 2000 17:59:58 -0800
From:      Edwin Culp <eculp@MexComUSA.Net>
To:        Dirk Froemberg <dirk@freebsd.org>, ports@freebsd.org
Subject:   Re: apache13-php4
Message-ID:  <38E0121E.F21791A3@MexComUSA.Net>
References:  <38D8FD22.E2A9875F@MexComUSA.Net> <20000322134846.V25438@jade.chc-chimes.com> <20000327224807.C7980@physik.TU-Berlin.DE> <20000327155812.C23367@jade.chc-chimes.com> <38DFCDD2.E894EB76@MexComUSA.Net> <38DFE0F8.26FDA36F@MexComUSA.Net>

next in thread | previous in thread | raw e-mail | index | archive | help
Edwin Culp wrote:

> Dirk,
>
> It seems to compile with everything but imap.  Were you able to compile it
> with imap support?  Is there something special that I should do?  I'm going to
> try to add it manually and recompile.
>
> Thanks again,
>
> ed
>
> > > > I upgraded apache13-php4 to php-4.0b4pl1 a few minutes ago.
> > > >
> > > > mysql_* functions don't seem to be a problem, now. Give it a try. 8)
> > >
> > > I will upgrade the server tonight and give it a whirl.
> > >
> > > Thanks for maintaining this monster of a port, Dirk. :->
> > >
> > > --
> > > Bill Fumerola - Network Architect
> > > Computer Horizons Corp - CVM
> > > e-mail: billf@chc-chimes.com / billf@FreeBSD.org
> > > Office: 800-252-2421 x128 / Cell: 248-761-7272
> >
> > Dirk,
> >
> > I would like to echo Bill's appreciation.  When you try to build this
> > monster with all the bells and whistles manually, you really learn to
> > appreciate the time and energy spent on maintaining a port like this.
> >
> > I'm cvsuping right now and will build it with ssl, imap, mysql, zlib and
> > openldap this afternoon and give you feedback.
> >
> > Thanks again,
> >
> > ed

The results were that zlib wanted 1.09 or higher.  I just decided to compile
without zlib, easy :-)

work/php/php_config.h both #define statements have to be 1 and they are 0 by
default.  I really don't understand why they are defined twice so I just changed
the work/php/configure file if to assign 1 in both instances and problem
solved:-)

#define PHP3_STD_DES_CRYPT 1

/*   */
#define PHP3_STD_DES_CRYPT 1

With the above change and without IMAP support everything compiles and the server
works fine but when I try to compile it with IMAP support I get the following
error that I have been suffering with this for serveral days and don't know what
the real problem is.  I am assuming that maybe an older version of IMAP libraries
might be the solution????  Any help would be greatly appreciated.

 + doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed.  The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.

cd ..; cc -DHARD_SERVER_LIMIT=512  -DBIG_SECURITY_HOLE
-DDEFAULT_PATH=\"/usr/local/bin:/bin:/usr/bin\" -DTARGET=\"apache\"
-DMOD_SSL=206102 -I/usr/ports/www/apache13-php4/work/php-4.0b4pl1
-I/usr/ports/www/apache13-php4/work/php-4.0b4pl1/Zend
-I/usr/ports/www/apache13-php4/work/php-4.0b4pl1/Zend
-I/usr/ports/www/apache13-php4/work/php-4.0b4pl1 -DEAPI -DEAPI_MM -DUSE_EXPAT
-I./lib/expat-lite -O -pipe -DNO_IDEA `./apaci` -I/usr/local/include
-L/usr/local/lib  -o helpers/dummy helpers/dummy.c  -L/usr/local/lib
-R/usr/local/lib -R/usr/local/lib/mysql  -rdynamic -L/usr/local/lib
-L/usr/local/lib/mysql -Lmodules/php4 -L../modules/php4 -L../../modules/php4
-lmodphp4  -lgdbm -L/usr/local/lib -lintl     -lmysqlclient -lldap -lc-client4
-lbind -lm -lcrypt  -llber  -lcrypt -lmm
/usr/local/lib/mysql/libmysqlclient.so: warning: tempnam() possibly used
unsafely; consider using mkstemp()
/usr/local/lib/libc-client4.so: undefined reference to `mm_expunged'
/usr/local/lib/libc-client4.so: undefined reference to `mm_diskerror'
/usr/local/lib/libc-client4.so: undefined reference to `mm_lsub'
/usr/local/lib/libc-client4.so: undefined reference to `mm_flags'

Thanks

ed



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38E0121E.F21791A3>