Re: [users@httpd] Problem compiling Http 2.0.53 on Solaris 8

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

 



Hi all,

Still have the same problems. Cannot compile unixd.c on Solaris 8 netra T1
I have play with LD_LIBRARY_PATH, LD_INCLUDE_PATH, nothing worked.
I have also try your method Marcus, 

CPPFLAGS="-I/usr/local/BerkeleyDB/include -I/usr/local/openssl/include
-I/usr/local/openldap/include -I/usr/include -I/usr/local/include"

LDFLAGS="-L/usr/local/BerkeleyDB/lib -L/usr/local/openssl/lib
-L/usr/local/openldap/lib -L/usr/lib -L/usr/local/lib -lssl -ldb"

./configure --prefix=/usr/local/apache --enable-so --enable-cache
--enable-cache-mem --enable-ldap --enable-auth-ldap --enable-proxy
--enable-proxy-connect --enable-proxy-ftp --enable-proxy-http
--enable-ssl --enable-dgi --enable-cgid --enable-rewrite
--with-ssl=/usr/local/openssl --with-ldap

Doesn't work at all !!!

Please help me ?

Best Regards,

Farid.

On Apr 1, 2005 6:15 PM, Markus Mayer <mymaillists@xxxxxx> wrote:
> Looks like you are using LD_LIBRARY_PATH and have not set CPPFLAGS and LDFLAGS
> correctly.  I never use LD_LIBRARY_PATH - it was intended as a workaround
> however now it is unfortunately abused beyond belief, especially on Solaris.
> In particular, a program should not have to rely on an environment variable.
> 
> I use:
> 
> CPPFLAGS="-I/usr/local/ssl/include -I/usr/local/open-ldap/include
> -I/usr/local/ssl/include -I/usr/local/BerkeleyDB.4.2/include"
> 
> LDFLAGS="-L/usr/local/ssl/lib -L/usr/local/open-ldap/lib
> -L/usr/local/BerkeleyDB.4.2/lib -R/usr/local/lib
> -R/usr/local/BerkeleyDB.4.2/lib"
> 
> The -R flags for the build will tell the application where to look first for
> its libraries.  This also makes it possible to specify different -L and -R
> paths if your libraries on your productive machine happen to be in a
> different place to the development/test machines.
> 
> Your flags will be mostly similar especially if you're including ldap and ssl
> support, but maybe you have to include others if you have other modules in
> your build.
> 
> Do a make dist clean, then try again.
> 
> Markus
> 
> On Friday 01 April 2005 18:27, Farid Izem wrote:
> > Hi all,
> >
> > I'm trying to compile the lastest source of Apache on Solaris 8.
> > I'm facing the same problem for each ./configure i do.
> > I'm simply tring this :
> > ./configure --prefix=/usr/local/apache ==> works fine.
> > make ==> unsuccessfull, this is what i get :
> >
> > Making all in unix

On Apr 1, 2005 6:15 PM, Markus Mayer <mymaillists@xxxxxx> wrote:
> Looks like you are using LD_LIBRARY_PATH and have not set CPPFLAGS and LDFLAGS
> correctly.  I never use LD_LIBRARY_PATH - it was intended as a workaround
> however now it is unfortunately abused beyond belief, especially on Solaris.
> In particular, a program should not have to rely on an environment variable.
> 
> I use:
> 
> CPPFLAGS="-I/usr/local/ssl/include -I/usr/local/open-ldap/include
> -I/usr/local/ssl/include -I/usr/local/BerkeleyDB.4.2/include"
> 
> LDFLAGS="-L/usr/local/ssl/lib -L/usr/local/open-ldap/lib
> -L/usr/local/BerkeleyDB.4.2/lib -R/usr/local/lib
> -R/usr/local/BerkeleyDB.4.2/lib"
> 
> The -R flags for the build will tell the application where to look first for
> its libraries.  This also makes it possible to specify different -L and -R
> paths if your libraries on your productive machine happen to be in a
> different place to the development/test machines.
> 
> Your flags will be mostly similar especially if you're including ldap and ssl
> support, but maybe you have to include others if you have other modules in
> your build.
> 
> Do a make dist clean, then try again.
> 
> Markus
> 
> On Friday 01 April 2005 18:27, Farid Izem wrote:
> > Hi all,
> >
> > I'm trying to compile the lastest source of Apache on Solaris 8.
> > I'm facing the same problem for each ./configure i do.
> > I'm simply tring this :
> > ./configure --prefix=/usr/local/apache ==> works fine.
> > make ==> unsuccessfull, this is what i get :
> >
> > Making all in unix
> > make[2]: Entering directory `/opt/PerlTools/httpd-2.0.53/os/unix'
> > make[3]: Entering directory `/opt/PerlTools/httpd-2.0.53/os/unix'
> > /opt/PerlTools/httpd-2.0.53/srclib/apr/libtool --silent --mode=compile
> > gcc  -g -O2 -pthreads    -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS
> > -D_REENTRANT -DAP_HAVE_DESIGNATED_INITIALIZER
> > -I/opt/PerlTools/httpd-2.0.53/srclib/apr/include
> > -I/opt/PerlTools/httpd-2.0.53/srclib/apr-util/include
> > -I/usr/local/include -I. -I/opt/PerlTools/httpd-2.0.53/os/unix
> > -I/opt/PerlTools/httpd-2.0.53/server/mpm/prefork
> > -I/opt/PerlTools/httpd-2.0.53/modules/http
> > -I/opt/PerlTools/httpd-2.0.53/modules/filters
> > -I/opt/PerlTools/httpd-2.0.53/modules/proxy
> > -I/opt/PerlTools/httpd-2.0.53/include
> > -I/opt/PerlTools/httpd-2.0.53/modules/generators
> > -I/opt/PerlTools/httpd-2.0.53/modules/dav/main -prefer-non-pic -static
> > -c unixd.c && touch unixd.lo
> > cc1: warning: changing search order for system directory
> > "/usr/local/include" cc1: warning:   as it has already been specified as a
> > non-system directory In file included from unixd.h:22,
> >                  from unixd.c:23:
> > /opt/PerlTools/httpd-2.0.53/include/ap_listen.h:62: syntax error before
> > "extern" In file included from unixd.c:23:
> > unixd.h:49: parse error before "get_suexec_identity"
> > unixd.h:68: parse error before '}' token
> > unixd.h:68: warning: data definition has no type or storage class
> > unixd.h:69: syntax error before "extern"
> > unixd.h:69: warning: data definition has no type or storage class
> > unixd.h:71: parse error before "unixd_setup_child"
> > unixd.h:71: warning: data definition has no type or storage class
> > unixd.h:72: parse error before "unixd_pre_config"
> > unixd.h:72: warning: data definition has no type or storage class
> > unixd.h:73: parse error before "unixd_set_user"
> > unixd.h:74: warning: data definition has no type or storage class
> > unixd.h:75: parse error before "unixd_set_group"
> > unixd.h:76: warning: data definition has no type or storage class
> > unixd.h:78: parse error before "unixd_set_rlimit"
> > unixd.h:79: warning: data definition has no type or storage class
> > unixd.h:91: parse error before "unixd_set_proc_mutex_perms"
> > unixd.h:91: warning: data definition has no type or storage class
> > unixd.h:92: parse error before "unixd_set_global_mutex_perms"
> > unixd.h:92: warning: data definition has no type or storage class
> > unixd.h:93: parse error before "unixd_accept"
> > unixd.h:93: warning: data definition has no type or storage class
> > In file included from unixd.c:24:
> > /opt/PerlTools/httpd-2.0.53/include/mpm_common.h:151: parse error
> > before "ap_mpm_pod_open"
> > /opt/PerlTools/httpd-2.0.53/include/mpm_common.h:151: warning: data
> > definition has no type or storage class
> > /opt/PerlTools/httpd-2.0.53/include/mpm_common.h:156: parse error
> > before "ap_mpm_pod_check"
> > /opt/PerlTools/httpd-2.0.53/include/mpm_common.h:156: warning: data
> > definition has no type or storage class
> > /opt/PerlTools/httpd-2.0.53/include/mpm_common.h:161: parse error
> > before "ap_mpm_pod_close"
> > /opt/PerlTools/httpd-2.0.53/include/mpm_common.h:161: warning: data
> > definition has no type or storage class
> > /opt/PerlTools/httpd-2.0.53/include/mpm_common.h:168: parse error
> > before "ap_mpm_pod_signal"
> > /opt/PerlTools/httpd-2.0.53/include/mpm_common.h:168: warning: data
> > definition has no type or storage class
> > /opt/PerlTools/httpd-2.0.53/include/mpm_common.h:176: parse error
> > before "ap_mpm_pod_killpg"
> > /opt/PerlTools/httpd-2.0.53/include/mpm_common.h:176: warning: data
> > definition has no type or storage class
> > /opt/PerlTools/httpd-2.0.53/include/mpm_common.h:244: parse error
> > before '*' token
> > In file included from unixd.c:26:
> > /opt/PerlTools/httpd-2.0.53/include/ap_mpm.h:82: parse error before
> > "ap_mpm_run" /opt/PerlTools/httpd-2.0.53/include/ap_mpm.h:82: warning: data
> > definition has no type or storage class
> > /opt/PerlTools/httpd-2.0.53/include/ap_mpm.h:90: parse error before
> > "ap_graceful_stop_signalled"
> > /opt/PerlTools/httpd-2.0.53/include/ap_mpm.h:90: warning: data
> > definition has no type or storage class
> > /opt/PerlTools/httpd-2.0.53/include/ap_mpm.h:105: parse error before
> > "ap_os_create_privileged_process"
> > /opt/PerlTools/httpd-2.0.53/include/ap_mpm.h:112: warning: data
> > definition has no type or storage class
> > /opt/PerlTools/httpd-2.0.53/include/ap_mpm.h:151: parse error before
> > "ap_mpm_query"
> > /opt/PerlTools/httpd-2.0.53/include/ap_mpm.h:151: warning: data
> > definition has no type or storage class
> > unixd.c:54: parse error before "unixd_config"
> > unixd.c:54: warning: data definition has no type or storage class
> > unixd.c: In function `set_group_privs':
> > unixd.c:70: request for member `user_name' in something not a structure or
> > union unixd.c:72: request for member `user_name' in something not a
> > structure or union unixd.c:78: warning: passing arg 4 of `ap_log_error'
> > makes pointer from integer without a cast
> > unixd.c:85: request for member `user_name' in something not a structure or
> > union unixd.c:94: request for member `group_id' in something not a
> > structure or union unixd.c:97: request for member `group_id' in something
> > not a structure or union unixd.c:97: warning: passing arg 4 of
> > `ap_log_error' makes pointer from integer without a cast
> > unixd.c:103: request for member `group_id' in something not a structure or
> > union unixd.c:106: request for member `group_id' in something not a
> > structure or union unixd.c:106: warning: passing arg 4 of `ap_log_error'
> > makes pointer from integer without a cast
> > unixd.c: At top level:
> > unixd.c:115: parse error before "unixd_setup_child"
> > unixd.c: In function `unixd_setup_child':
> > unixd.c:139: request for member `user_id' in something not a structure or
> > union unixd.c:142: request for member `user_id' in something not a
> > structure or union unixd.c:142: warning: passing arg 4 of `ap_log_error'
> > makes pointer from integer without a cast
> > unixd.c: At top level:
> > unixd.c:162: parse error before "unixd_set_user"
> > unixd.c: In function `unixd_set_user':
> > unixd.c:167: warning: return makes integer from pointer without a cast
> > unixd.c:170: request for member `user_name' in something not a
> > structure or union
> > unixd.c:171: request for member `user_id' in something not a structure or
> > union unixd.c:173: request for member `user_id' in something not a
> > structure or union unixd.c:182: warning: return makes integer from pointer
> > without a cast unixd.c: At top level:
> > unixd.c:189: parse error before "unixd_set_group"
> > unixd.c: In function `unixd_set_group':
> > unixd.c:194: warning: return makes integer from pointer without a cast
> > unixd.c:197: request for member `group_id' in something not a structure or
> > union unixd.c: At top level:
> > unixd.c:202: parse error before "unixd_pre_config"
> > unixd.c: In function `unixd_pre_config':
> > unixd.c:206: request for member `user_name' in something not a
> > structure or union
> > unixd.c:207: request for member `user_id' in something not a structure or
> > union unixd.c:208: request for member `group_id' in something not a
> > structure or union unixd.c:211: request for member `suexec_enabled' in
> > something not a structure or union
> > unixd.c:221: request for member `suexec_enabled' in something not a
> > structure or union
> > unixd.c: At top level:
> > unixd.c:228: parse error before "unixd_set_rlimit"
> > unixd.c: In function `unixd_set_rlimit':
> > unixd.c:238: warning: passing arg 1 of `apr_palloc' from incompatible
> > pointer type
> > unixd.c:243: warning: passing arg 4 of `ap_log_error' makes pointer
> > from integer without a cast
> > unixd.c:243: warning: passing arg 5 of `ap_log_error' from
> > incompatible pointer type
> > unixd.c:257: warning: passing arg 5 of `ap_log_error' from
> > incompatible pointer type
> > unixd.c:270: warning: passing arg 5 of `ap_log_error' from
> > incompatible pointer type
> > unixd.c: At top level:
> > unixd.c:292: parse error before "get_suexec_identity"
> > unixd.c:293: parse error before numeric constant
> > unixd.c:308: parse error before "if"
> > unixd.c:312: conflicting types for `argv0'
> > unixd.c:306: previous declaration of `argv0'
> > unixd.c:312: `progname' undeclared here (not in a function)
> > unixd.c:312: initializer element is not constant
> > unixd.c:312: warning: data definition has no type or storage class
> > unixd.c:314: parse error before "if"
> > unixd.c:328: conflicting types for `execgroup'
> > unixd.c:305: previous declaration of `execgroup'
> > unixd.c:328: `p' undeclared here (not in a function)
> > unixd.c:328: `ugid' undeclared here (not in a function)
> > unixd.c:328: warning: initialization makes integer from pointer without a
> > cast unixd.c:328: initializer element is not constant
> > unixd.c:328: warning: data definition has no type or storage class
> > unixd.c:330: parse error before "if"
> > unixd.c:334: warning: data definition has no type or storage class
> > unixd.c:335: parse error before "if"
> > unixd.c:341: conflicting types for `newargs'
> > unixd.c:303: previous declaration of `newargs'
> > unixd.c:341: `p' undeclared here (not in a function)
> > unixd.c:341: warning: initialization makes integer from pointer without a
> > cast unixd.c:341: initializer element is not constant
> > unixd.c:341: warning: data definition has no type or storage class
> > unixd.c:342: conflicting types for `newprogname'
> > unixd.c:304: previous declaration of `newprogname'
> > unixd.c:342: warning: initialization makes integer from pointer without a
> > cast unixd.c:342: warning: data definition has no type or storage class
> > unixd.c:343: conflicting types for `newargs'
> > unixd.c:341: previous declaration of `newargs'
> > unixd.c:343: invalid initializer
> > unixd.c:343: warning: data definition has no type or storage class
> > unixd.c:344: conflicting types for `newargs'
> > unixd.c:343: previous declaration of `newargs'
> > unixd.c:344: invalid initializer
> > unixd.c:344: warning: data definition has no type or storage class
> > unixd.c:345: conflicting types for `newargs'
> > unixd.c:344: previous declaration of `newargs'
> > unixd.c:345: invalid initializer
> > unixd.c:345: warning: data definition has no type or storage class
> > unixd.c:346: conflicting types for `newargs'
> > unixd.c:345: previous declaration of `newargs'
> > unixd.c:346: `p' undeclared here (not in a function)
> > unixd.c:346: warning: passing arg 2 of `apr_pstrdup' makes pointer
> > from integer without a cast
> > unixd.c:346: invalid initializer
> > unixd.c:346: warning: data definition has no type or storage class
> > unixd.c:353: parse error before "if"
> > unixd.c:357: redefinition of `i'
> > unixd.c:334: `i' previously defined here
> > unixd.c:357: warning: data definition has no type or storage class
> > unixd.c:358: parse error before "do"
> > unixd.c:365: parse error before "ap_os_create_privileged_process"
> > unixd.c: In function `ap_os_create_privileged_process':
> > unixd.c:372: warning: initialization makes pointer from integer without a
> > cast unixd.c: At top level:
> > unixd.c:396: parse error before "unixd_set_proc_mutex_perms"
> > unixd.c: In function `unixd_set_proc_mutex_perms':
> > unixd.c:414: storage size of `buf' isn't known
> > unixd.c:417: request for member `user_id' in something not a structure or
> > union unixd.c:418: request for member `group_id' in something not a
> > structure or union unixd.c:421: `IPC_SET' undeclared (first use in this
> > function)
> > unixd.c:421: (Each undeclared identifier is reported only once
> > unixd.c:421: for each function it appears in.)
> > unixd.c: At top level:
> > unixd.c:449: parse error before "unixd_set_global_mutex_perms"
> > unixd.c:461: parse error before "unixd_accept"
> > unixd.c: In function `unixd_accept':
> > unixd.c:570: warning: passing arg 4 of `ap_log_error' makes pointer
> > from integer without a cast
> > unixd.c:570: warning: passing arg 5 of `ap_log_error' from
> > incompatible pointer type
> > unixd.c:587: warning: passing arg 4 of `ap_log_error' makes pointer
> > from integer without a cast
> > unixd.c:587: warning: passing arg 5 of `ap_log_error' from
> > incompatible pointer type
> > make[3]: *** [unixd.lo] Error 1
> > make[3]: Leaving directory `/opt/PerlTools/httpd-2.0.53/os/unix'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/opt/PerlTools/httpd-2.0.53/os/unix'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/opt/PerlTools/httpd-2.0.53/os'
> > make: *** [all-recursive] Error 1
> >
> >
> > Any Help would be much appreciated.
> >
> > Kind Regards,
> >
> > Farid
> >
> > ---------------------------------------------------------------------
> > 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
> 
> ---------------------------------------------------------------------
> 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
> 
>

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