Hi Jonathan, Thanks for your attention.
>Looks like you didn't build the Perl - it appears that your C compiler >isn't GCC, but Perl was built with GCC. Of course I didn't - I have installed binary rpm - perl-5.8.4-10mdk.rpm. Here is what perl -V returns: Summary of my perl5 (revision 5 version 8 subversion 4) configuration: Platform: osname=linux, osvers=2.6.3-3mdkenterprise, archname=i386-linux-thread-multi uname='linux n1.mandrakesoft.com 2.6.3-3mdkenterprise #1 smp tue feb 24 21:07:18 cet 2004 i686 unknown unknown gnulinux ' config_args='-des -Dinc_version_list=5.8.3/i386-linux-thread-multi 5.8.3 5.8.2/i386-linux-thread-multi 5.8.2 5.8.1/i386-linux-thread-multi 5.8.1 5.8.0/i386-linux-thread-multi 5.8.0 5.6.1 5.6.0 -Darchname=i386-linux -Dcc=gcc -Doptimize=-O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dman3ext=3pm -Dcf_by=MandrakeSoft -Dmyhostname=localhost [EMAIL PROTECTED] -Dd_dosuid -Ud_csh -Duseshrplib -Accflags=-DPERL_DISABLE_PMC -Dusethreads' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DPERL_DISABLE_PMC -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', optimize='-O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro ', cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DPERL_DISABLE_PMC -fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm' ccversion='', gccversion='3.4.1 (Mandrakelinux (Cooker) 3.4.1-0.3mdk)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='gcc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lndbm -lgdbm -ldl -lm -lcrypt -lutil -lpthread -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=/lib/libc-2.3.3.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.3.3' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.4/i386-linux-thread-multi/CORE' cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Locally applied patches: MandrakeSoft patches (cf the source RPM) Built under linux Compiled at Jun 13 2004 20:50:48 @INC: /usr/lib/perl5/5.8.4/i386-linux-thread-multi /usr/lib/perl5/5.8.4 /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl . But the compiler is gcc, look at info stored in Makefile: AR = ar CC = gcc CCCDLFLAGS = -fPIC CCDLFLAGS = -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.4/i386-linux-thread-multi/CORE DLEXT = so DLSRC = dl_dlopen.xs LD = gcc LDDLFLAGS = -shared -L/usr/local/lib LDFLAGS = -L/usr/local/lib LIBC = /lib/libc-2.3.3.so LIB_EXT = .a OBJ_EXT = .o OSNAME = linux OSVERS = 2.6.3-3mdkenterprise RANLIB = : SITELIBEXP = /usr/lib/perl5/site_perl/5.8.4 SITEARCHEXP = /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi SO = so EXE_EXT = FULL_AR = /usr/bin/ar VENDORARCHEXP = /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi VENDORLIBEXP = /usr/lib/perl5/vendor_perl/5.8.4 And here what `make' returns: [EMAIL PROTECTED] DBI-1.42]# make gcc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DPERL_DISABLE_PMC -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro -DVERSION=\"1.42\" -DXS_VERSION=\"1.42\" -fPIC "-I/usr/lib/perl5/5.8.4/i386-linux-thread-multi/CORE" -Wall -Wno-comment Perl.c cc1: error: invalid option `tune=pentiumpro' make: *** [Perl.o] Error 1 That is my gcc version: [EMAIL PROTECTED] DBI-1.42]# gcc -v Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3.1/specs Configured with: ../configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable-long-long --enable-__cxa_atexit --enable-languages=c,c++,ada,f77,objc,java,pascal --host=i586-mandrake-linux-gnu --with-system-zlib Thread model: posix gcc version 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk) >You also don't mention the platform on which you're working. I'm sorry, I hoped that the error happened before and remedy is quite obvious. So as the situation seems complicated - my environment: Pentium 133 (i586) architecture, Mandrake 9.2 linux OS, perl-5.8.4, mod_perl-1.99-14 (build and installed with this perl), Apache-2.0.49 (what is all the mess intended for) What looks strange to me is that original optimize option `-mtune' becomes `-tune' in error message... Regards, Alex ___________________________________________________________ALL-NEW Yahoo! Messenger - sooooo many all-new ways to express yourself http://uk.messenger.yahoo.com