Re: [users@httpd] How to specify multiple header file locations on mod_perl 1.3.33 DSO build?

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

 



I submitted the last question under a different subject. To get back to the
question on how to specify 
multiple header file locations - any comments.  Probably as easy as exporting a
CFLAGS var in the make
environment?

Making 1.3.33 from source, what is easiest way to tell make that
includes are in more than one directory?

apxs has following entry.  I hard-coded this:
my $CFG_INCLUDEDIR    = q(/path/to/Apache/src/apache_1.3.33/src/include);     

 # substituted via APACI install


Got following error on make command:
...
/path/to/Apache/src/apache_1.3.33/src/include/ap_config.h:73:16: os.h: No such
file or directory
...
A find shows that the ap_config.h file is in the 1.3.33 sourc tree:
(me)on fchdev /path/to/Apache/src/mod_perl-1.29:>find ../.. -name ap_config.h
../../src/apache_1.3.28/src/include/ap_config.h
../../src/apache_1.3.28/include/ap_config.h
../../src/apache_1.3.33/src/include/ap_config.h
But the os.h file is replicated under the 1.3.33 source tree in a number of
different directories,
each representing different os's. Ex.:
(me)on fchdev /path/to/Apache/src/mod_perl-1.29:>find ../.. -name os.h
...
../../src/apache_1.3.33/src/os/unix/os.h
...

Charlie ;)
4/5/05



>>> SmithCW@xxxxxxxxxxxxx 4/4/2005 3:05:03 PM >>>
Starting Apache, got error messages that should recompile some of modules
with -DEAPI flag.  Didn't see how to do this.  Any ideas?

Charlie ;)
4/4/05

>>> SmithCW@xxxxxxxxxxxxx 4/4/2005 11:29:37 AM >>>
I guess I'm talking to myself on this one.  Oh well, someone may be interested
in my findings here:
Per google search,
Looks like the undefined symbol may be coming from an attempt to load
modules/dav/libdav.a(dav_util.o) 
I didn't make reference to that in new compile of Apache, or rather didn't
move
that lib to new
apache build.

Will try this as solution.

Charlie ;)
4/4/05

>>> SmithCW@xxxxxxxxxxxxx 4/4/2005 11:21:35 AM >>>
Ok. I just copied the os/unix/*.h and *.c files to the include dir and then
got
a succesful build.

However, after confguring new apache 1.3.33 and making it, and changing
loadmodule location
in the httpd.conf file I get following error:
undefined symbol: ap_ctx_get

I put the perl module reference back to 1.28 and it comes up fine.

So, why might the undefined symbol be occuring at load time?  Is this an
acknowledged problem with
mod_perl 1.29 or did I do something wrong in procedure to compile new mod_perl
stuff?

Charlie ;)
4/4/05

>>> SmithCW@xxxxxxxxxxxxx 4/4/2005 9:55:46 AM >>>
Trying to build mod_perl v 1.29 and make ready for Apache 1.3.33 build.
It would seem that the make couldn't locate all needed header files.

Making 1.3.33 from source, what is easiest way to tell make that
includes are in more than one directory?

apxs has following entry.  I hard-coded this:
my $CFG_INCLUDEDIR    = q(/path/to/Apache/src/apache_1.3.33/src/include);     

 # substituted via APACI install


Got following error on make command:
...
/path/to/Apache/src/apache_1.3.33/src/include/ap_config.h:73:16: os.h: No such
file or directory
...
A find shows that the ap_config.h file is in the 1.3.33 sourc tree:
(me)on fchdev /path/to/Apache/src/mod_perl-1.29:>find ../.. -name ap_config.h
../../src/apache_1.3.28/src/include/ap_config.h
../../src/apache_1.3.28/include/ap_config.h
../../src/apache_1.3.33/src/include/ap_config.h
But the os.h file is replicated under the 1.3.33 source tree in a number of
different directories,
each representing different os's. Ex.:
(me)on fchdev /path/to/Apache/src/mod_perl-1.29:>find ../.. -name os.h
...
../../src/apache_1.3.33/src/os/unix/os.h
...

Charlie ;)
4/4/05

------------------------------------------------------------------------------
This message may contain confidential information, and is
intended only for the use of the individual(s) to whom it
is addressed.
------------------------------------------------------------------------------


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



------------------------------------------------------------------------------
This message may contain confidential information, and is
intended only for the use of the individual(s) to whom it
is addressed.
------------------------------------------------------------------------------


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



------------------------------------------------------------------------------
This message may contain confidential information, and is
intended only for the use of the individual(s) to whom it
is addressed.
------------------------------------------------------------------------------


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



------------------------------------------------------------------------------
This message may contain confidential information, and is
intended only for the use of the individual(s) to whom it
is addressed.
------------------------------------------------------------------------------


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



------------------------------------------------------------------------------
This message may contain confidential information, and is
intended only for the use of the individual(s) to whom it
is addressed.
------------------------------------------------------------------------------


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