www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Wilcox <jonat...@menai.com>
Subject other/5103: generated Makefile has '-rpath' option that gcc does not understand
Date Tue, 05 Oct 1999 21:25:34 GMT

>Number:         5103
>Category:       other
>Synopsis:       generated Makefile has '-rpath' option that gcc does not understand
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Oct  5 14:30:02 PDT 1999
>Originator:     jonathan@menai.com
>Release:        1.3.9
Redhat 6.0 (linux 2.2.7-1.23)
no core dump.

This problem arises in the build process using ./configure.  If this issue
should be posted elsewhere, please let me know where.

I am trying to build apache with php3 as a DSO that has postgreSQL support.

Working in the php3 source directory, I used the php3 configure script
with arguments to support pgsql.  The configure, make and make install
proceeded without errors.

Working in the apache source directory, I ran apache configure as follows:

./configure \
--prefix=/usr/local/apache \
--enable-module=most \
--enable-shared=max \
--activate_module=src/modules/php3/libphp3.a \
--enable-shared=php3 \

Then I ran make.  It reported errors as follows:

gcc -rpath /usr/local/pgsql/lib -shared -o mod_vhost_alias.so mod_vhost_alias.lo 
gcc: unrecognized option `-rpath'
/usr/local/pgsql/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status
make[4]: *** [mod_vhost_alias.so] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/src/apache_1.3.9/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/src/apache_1.3.9'
make: *** [build] Error 2                                                       

Evidently the generated Makefile included an option that gcc does not

Help will be much appreciated.

Jonathan Wilcox

The preparatory steps to build php3 as a DSO (per php3 INSTALL.DSO)
are as follows:

./configure \
--with-shared-apache=/usr/src/apache_1.3.9/ \
--with-config-file-path=/usr/src/apache_1.3.9/conf/httpd.conf \

make install
[In order for any reply to be added to the PR database, you need]
[to include <apbugs@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message