Re: [users@httpd] Totally stumped on httpd, gcc & solaris 10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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...

-- 

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

begin:vcard
fn:Ricardo Stella
n:Stella;Ricardo
org:Rider University
adr;dom:;;2083 Lawrenceville Rd;Lawrenceville;NJ;08648
version:2.1
end:vcard


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux