httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ricardo Stella <ste...@rider.edu>
Subject Re: [users@httpd] Totally stumped on httpd, gcc & solaris 10
Date Thu, 11 May 2006 19:47:23 GMT


Chris Edwards wrote:
> Hola!
>
> I am trying to compile Apache2 on Solaris 10 with gcc.  Here is the
> error Im getting durring the make...
>
> exports.c:116:2: #endif without #if
> make[2]: *** [exports.lo] Error 1
> make[2]: Leaving directory
> `/export/home/chris/Sources/httpd-2.2.0/server'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/export/home/chris/Sources/httpd-2.2.0/server'
> make: *** [all-recursive] Error 1
> #
>
> Any help would be greatly appreciated.  Thanks!
>
>   

Well, although 2.2.2 is out, it would help to know what options you used
for configure or what gcc you are using.  Here's mine, ripped from the
net somewhere and since I need ldap and BerkeleyDB, those options are
there (note LDFLAGS and CPPFLAGS should all be on one line):

CFLAGS="-O2"; export CFLAGS
LDFLAGS="-L/usr/local/ssl/lib -L/usr/local/openldap/lib -L/usr/local/lib
-R/usr/local/ssl/lib:/usr/local/openldap/lib:/usr/local/lib"; export LDFLAGS
CPPFLAGS="-I/usr/local/ssl/include -I/usr/local/openldap/include
-I/usr/local/include"; export CPPFLAGS

./configure \
--prefix=/usr/local/apache2 \
--enable-mods-shared=most \
--with-ldap-include=/usr/local/openldap/include \
--with-ldap-lib=/usr/local/openldap/lib \
--with-ssl=/usr/local/ssl \
--with-perl=/usr/local/bin/perl \
--with-ldap \
--with-berkeley-db=/usr/local/BerkeleyDB \
--enable-ldap \
--enable-authnz-ldap \
--enable-ssl

I'm using gcc 3.3.2 from sunfreeware.com...

My .02...

-- 

°(((=((===°°°(((===========================================


Mime
View raw message