Hi again! Thanks for the quick response!
I did the make manually as you suggested. I pointed in xs subdirectory and maked : The only warning I got is this : cc -c -I/usr/local/cpan/build/Embperl-2.0b10 -I/usr/local/apache2/include -I/usr/local/apache2/regex -I/usr/local/apache2/os/unix -I/usr/local/cpan/build/Embperl-2.0b10/xs -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -I/usr/local/include -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"2.0b10\" -DXS_VERSION=\"2.0b10\" "-I/usr/local/lib/perl5/5.8.2/aix/CORE" -DAPACHE -DAPACHE2 -DEP2 Config.c "Config.c", line 657.13: 1506-068 (W) Operation between types "struct cv*" and "struct sv*" is not allowed. "Config.c", line 699.13: 1506-068 (W) Operation between types "struct cv*" and "struct sv*" is not allowed. It has been able to compile everything though. Going back to the main directory and make`d again : </usr/local/cpan/build/Embperl-2.0b10>$ make Running Mkbootstrap for Embperl () Writing Embperl.bs chmod 644 Embperl.bs rm -f blib/arch/auto/Embperl/Embperl.so LD_RUN_PATH="" ld -bhalt:4 -bM:SRE -bI:/usr/local/lib/perl5/5.8.2/aix/CORE/perl.exp -bE:Embperl.exp -bnoentry -lc -L/usr/local/lib Embperl.o epmain.o epio.o epchar.o eputil.o epeval.o epmem.o epinit.o epcgiinit.o epcmd2.o epparse.o epdom.o epcomp.o epcache.o epprovider.o mod_embperl.o epapfilter.o xs/Embperl/App/App.o xs/Embperl/App/Config/Config.o xs/Embperl/Component/Component.o xs/Embperl/Component/Config/Config.o xs/Embperl/Component/Param/Param.o xs/Embperl/Component/Output/Output.o xs/Embperl/Req/Req.o xs/Embperl/Req/Config/Config.o xs/Embperl/Req/Param/Param.o xs/Embperl/Thread/Thread.o xs/Embperl/Syntax/Syntax.o -brtl -L/usr/local/lib -b32 -o blib/arch/auto/Embperl/Embperl.so ld: 0711-317 ERROR: Undefined symbol: .apr_palloc ld: 0711-317 ERROR: Undefined symbol: .ap_rputc ld: 0711-317 ERROR: Undefined symbol: .ap_rflush ld: 0711-317 ERROR: Undefined symbol: .ap_rwrite ld: 0711-317 ERROR: Undefined symbol: .ap_setup_client_block ld: 0711-317 ERROR: Undefined symbol: .ap_should_client_block ld: 0711-317 ERROR: Undefined symbol: .ap_get_client_block ld: 0711-317 ERROR: Undefined symbol: .apr_pstrdup ld: 0711-317 ERROR: Undefined symbol: .apr_table_add ld: 0711-317 ERROR: Undefined symbol: .apr_table_set ld: 0711-317 ERROR: Undefined symbol: .apr_table_elts ld: 0711-317 ERROR: Undefined symbol: .ap_log_error ld: 0711-317 ERROR: Undefined symbol: .ap_hook_open_logs ld: 0711-317 ERROR: Undefined symbol: .ap_exists_config_define ld: 0711-317 ERROR: Undefined symbol: .apr_pool_create_ex ld: 0711-317 ERROR: Undefined symbol: .ap_add_version_component ld: 0711-317 ERROR: Undefined symbol: .apr_table_get ld: 0711-317 ERROR: Undefined symbol: .apr_table_do ld: 0711-317 ERROR: Undefined symbol: .ap_sub_req_lookup_uri ld: 0711-317 ERROR: Undefined symbol: .apr_pstrcat ld: 0711-317 ERROR: Undefined symbol: .ap_sub_req_lookup_file ld: 0711-317 ERROR: Undefined symbol: .ap_run_sub_req ld: 0711-317 ERROR: Undefined symbol: .ap_destroy_sub_req ld: 0711-317 ERROR: Undefined symbol: .apr_brigade_destroy ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. make: The error code from the last command is 8. Unfortunately, I am not that much experienced with C. Well that's where I am! :-) Any clues? Thank you very much! Regards, Steve Hemond Programmeur Analyste / Analyst Programmer Smurfit-Stone, Ressources Forestières La Tuque, P.Q. Tel.: (819) 676-8100 X2833 [EMAIL PROTECTED] > -----Original Message----- > From: Gerald Richter [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 29, 2004 9:58 AM > To: Hemond, Steve; [EMAIL PROTECTED] > Subject: Re: HTML::Embperl make fails (Old.xs?) > > > Hemond, Steve wrote: > > Thank you very much! I have removed the commented line in several > > files. > > > > I am using the Aix C Compiler version 6. (xlc), there is > surely a way > > to tell the compiler to accept both comment styles? > > > > It's my fault. There are several compiler that aren't accept > // as a comment and I need to remove them before a new > release. Just missed it this time, sorry. > > > Anyway, I still have this problem : > > > > /usr/local/bin/perl /usr/local/lib/perl5/5.8.2/ExtUtils/xsubpp > > -typemap /usr/local/lib/perl5/5.8.2/ExtUtils/typemap > -typemap typemap > > xs/Embperl/App/App.xs > xs/Embperl/App/App.xsc && mv > > xs/Embperl/App/App.xsc xs/Embperl/App/App.c Can't find typemap in > > /root/.cpan/build/Embperl-2.0b10/xs/Embperl/App > > *** Error code 2 > > > > 1. What is a typemap? > > A typemap is used by the Perl XS Preprocessor (which > converts xs files to c > files) to map Perl datatypes to C datatypes. > > > 2. Why I get to that error on both Aix and Freebsd? :-) > > > > try > > cd xs > make > cd .. > make > > Does this change anything? > > If yes, please send me your top level Makefile. This issue > should be fixed, but Perl 5.8.2 has a new version of > MakeMaker and maybe I have to take a look at it again to get > it working with the new MakeMaker version. > > Gerald > > > > > Thank you very much for your help again, hope to be able to run > > Embperl soon :-) > > > > Best regards, > > > > Steve Hemond > > Programmeur Analyste / Analyst Programmer > > Smurfit-Stone, Ressources Forestières > > La Tuque, P.Q. > > Tel.: (819) 676-8100 X2833 > > [EMAIL PROTECTED] > > > > > > > > > -----Original Message----- > > > From: Gerald Richter [mailto:[EMAIL PROTECTED] > > > Sent: Thursday, January 29, 2004 12:40 AM > > > To: Hemond, Steve; [EMAIL PROTECTED] > > > Subject: Re: HTML::Embperl make fails (Old.xs?) > > > > > > > > > Hi, > > > > > > > "Old.xs", line 96.16: 1506-046 (S) Syntax error. > > > >... > > > > +96 if (0) //Node_self(DomTree_self (r -> > > > > > > > > > > This will be because of the C++ style comment on this > line. > Not > > all compiler accept this in C code. Just turn the C++ > > commnet (//) > > into a C comment (/* ... */) or just delete > lines 96 - > 98, since > > they doesn't do anything anyway > > > > Gerald > > > > > > > > > -------------------------------------------------------------- > > > Gerald Richter ecos electronic communication services gmbh > > > IT-Securitylösungen * dynamische Webapplikationen * Consulting > > > > > > Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz > > > E-Mail: [EMAIL PROTECTED] Voice: +49 6133 939-122 > > > WWW: http://www.ecos.de/ Fax: +49 6133 939-333 > > > -------------------------------------------------------------- > > > | > > > | ECOS BB-5000 Firewall- und IT-Security Appliance: > > www.bb-5000.info > >> > > +------------------------------------------------------------- > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > -------------------------------------------------------------- > Gerald Richter ecos electronic communication services gmbh > IT-Securitylösungen * dynamische Webapplikationen * Consulting > > Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz > E-Mail: [EMAIL PROTECTED] Voice: +49 6133 939-122 > WWW: http://www.ecos.de/ Fax: +49 6133 939-333 > -------------------------------------------------------------- > | > | ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info | +------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]