logo       


Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: compile error: msg#00639

Subject: Re: compile error
J S wrote:
J S wrote:

Hi,

I'm trying to build mod_perl as a dynamic apache module but I keep getting the following error:

smpd9$ pwd
/home/src/apache_src/modperl/apaci
smpd9$ make
/opt/SUNWspro/bin/cc -O -I/opt/perl-5.8.0/lib/5.8.0/sun4-solaris/CORE -I/usr/local/include -I/opt/local/include -DMOD_PERL_VERSION=\"1.27_01-dev\" -DMOD_PERL_STRING_VERSION=\"mod_perl/1.27_01-dev\" -I/opt/apache_1.3.27/include -DMOD_PERL -DSOLARIS2=260 -DMOD_SSL=208112 -DEAPI -DUSE_EXPAT -I../lib/expat-lite -KPIC -DSHARED_CORE -fast -xtarget=ultra -DHARD_SERVER_LIMIT=1024 -c mod_perl.c && mv mod_perl.o mod_perl.lo "/opt/apache_1.3.27/include/ap_alloc.h", line 354: undefined or not a type: regex_t


This and the following warnings indicate that something is wrong with your apache headers. e.g. incomplete set of headers. As suggested by Ged, try installing apache from scratch and chances are that your problem will go away.

looking at this some more, can you build apache at all (without mod_perl, mod_ssl), just the plain build? that error seems to indicate that it didn't include the file that defines the regex_t type.

You should be able to find it in: apache_1.3.27/src/include/hsregex.h, which is autogenerated from apache_1.3.27/src/regex/regex2.h

Thanks for your replies.
I must be doing something wrong here because I get this error everytime, even if I start from scratch with fresh sources.

Can I just check my process for building the apache is right?:

As for the build steps, try to follow these instructions:

http://perl.apache.org/docs/1.0/guide/install.html#mod_perl_and_mod_ssl___openssl_
(adjusting to use DSO if needed)

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxxxxxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com




Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
db.firebase.por...    text.xml.xalan....    qnx.openqnx.dev...    user-groups.zar...    internationaliz...    kde.devel.konve...    finance.e-gold....    emacs.latex.pre...    gis.therion/200...    web.webmin.gene...    yellowdog.gener...    vserver/2003-08...    redhat.release....    sysutils.tivoli...    xfree86.expert/...    mail.becky.user...    hardware.netapp...    netbsd.ports.xe...    python.distutil...    boot-loaders.gr...    culture.interne...    java.springfram...    activedir/2006-...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe