Re: /usr/bin/ld: cannot find -lperl(More Info.)

2004-01-19 Thread Craig McMillon
Sorry about just responding to you Stas and not the
list(still getting use to that). Anyway yes, your
suggestions below worked well. Thanks again. 

clm
--- Stas Bekman <[EMAIL PROTECTED]> wrote:
> Craig McMillon wrote:
> > Here it is Thanks
> > 
> > perl -V
> > Summary of my perl5 (revision 5.0 version 8
> subversion
> > 2) configuration:
> >   Platform:
> > osname=linux, osvers=2.4.22-xfs+ti1211,
> > archname=i386-linux-thread-multi
> > uname='linux kosh 2.4.22-xfs+ti1211 #1 sat oct
> 25
> > 10:11:37 est 2003 i686 gnu
>
> 
> what is kosh? some new distro?
> 
> >   Linker and Libraries:
> > ld='cc', ldflags =' -L/usr/local/lib'
> > libpth=/usr/local/lib /lib /usr/lib
> > libs=-lgdbm -lgdbm_compat -ldb -ldl -lm
> -lpthread
> > -lc -lcrypt
> > perllibs=-ldl -lm -lpthread -lc -lcrypt
> > libc=/lib/libc-2.3.2.so, so=so,
> useshrplib=true,
> > libperl=libperl.so.5.8.2
> gnulibc_version='2.3.2'
>
> find a file called libperl.so.5.8.2
> 
> probably living under /usr/local/lib/perl
> 
> find /usr/local/lib/perl | grep libperl.so.5.8.2
> 
> or /usr/lib/perl5, or anywhere else. I can't figure
> out where they put it.
> 
> let's say it's:
> 
> /usr/local/lib/perl/i386-linux/CORE/libperl.so.5.8.2
> 
> add a symlink to it (or check whether it exists
> already):
> 
> ln -sf
>
/usr/local/lib/perl/i386-linux/CORE/libperl.so.5.8.2\
> /usr/local/lib/perl/i386-linux/CORE/libperl.so
> 
> Now it may find it.
> 
>
__
> Stas BekmanJAm_pH --> Just Another
> mod_perl Hacker
> http://stason.org/ mod_perl Guide --->
> http://perl.apache.org
> mailto:[EMAIL PROTECTED] http://use.perl.org
> http://apacheweek.com
> http://modperlbook.org http://apache.org  
> http://ticketmaster.com
> 
> 
> -- 
> Reporting bugs: http://perl.apache.org/bugs/
> Mail list info:
> http://perl.apache.org/maillist/modperl.html
> 


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html



Re: /usr/bin/ld: cannot find -lperl(More Info.)

2004-01-19 Thread Craig McMillon
Here it is Thanks

perl -V
Summary of my perl5 (revision 5.0 version 8 subversion
2) configuration:
  Platform:
osname=linux, osvers=2.4.22-xfs+ti1211,
archname=i386-linux-thread-multi
uname='linux kosh 2.4.22-xfs+ti1211 #1 sat oct 25
10:11:37 est 2003 i686 gnu
  
 
linux '
config_args='-Dusethreads -Duselargefiles
-Dccflags=-DDEBIAN -Dcccdlflags=-f
  
 
PIC -Darchname=i386-linux -Dprefix=/usr
-Dprivlib=/usr/share/perl/5.8.2 -Darchli  
  
   
b=/usr/lib/perl/5.8.2 -Dvendorprefix=/usr
-Dvendorlib=/usr/share/perl5 -Dvendora
  
 
rch=/usr/lib/perl5 -Dsiteprefix=/usr/local
-Dsitelib=/usr/local/share/perl/5.8.2 
  

 -Dsitearch=/usr/local/lib/perl/5.8.2
-Dman1dir=/usr/share/man/man1 -Dman3dir=/u
  
 
sr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1
-Dsiteman3dir=/usr/local/man  
  
   
/man3 -Dman1ext=1 -Dman3ext=3perl
-Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh 
  
 
-Uusesfio -Uusenm -Duseshrplib
-Dlibperl=libperl.so.5.8.2 -Dd_dosuid -des'
hint=recommended, useposix=true,
d_sigaction=define
usethreads=define use5005threads=undef
useithreads=define usemultiplicity=de 
  

fine
useperlio=define d_sfio=undef uselargefiles=define
usesocks=undef
use64bitint=undef use64bitall=undef
uselongdouble=undef
usemymalloc=n, bincompat5005=undef
  Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -DDEBIAN -
  
 
fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS   
  
  
=64',
optimize='-O3',
cppflags='-D_REENTRANT -D_GNU_SOURCE
-DTHREADS_HAVE_PIDS -DDEBIAN -fno-stric   
  
  
t-aliasing -I/usr/local/include'
ccversion='', gccversion='3.3.2 (Debian)',
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='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread
-lc -lcrypt
perllibs=-ldl -lm -lpthread -lc -lcrypt
libc=/lib/libc-2.3.2.so, so=so, useshrplib=true,
libperl=libperl.so.5.8.2
gnulibc_version='2.3.2'
  Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef,
ccdlflags='-rdynamic'
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
  Built under linux
  Compiled at Nov 15 2003 17:52:08
  @INC:
/etc/perl
/usr/local/lib/perl/5.8.2
/usr/local/share/perl/5.8.2
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.8.2
/usr/share/perl/5.8.2
/usr/local/lib/site_perl


clm
--- Stas Bekman <[EMAIL PROTECTED]> wrote:
> Craig McMillon wrote:
> > Better yet here's the complete error message: 
> > 
> > 
> > commmand:
> > perl
> >
>
Makefile.PLAPACHE_SRC=/home/cmcmillo/src/apache_1.3.29
> > DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 
> > 
> > error: 
> >  Error Output for sanity check 
> > cd ..; cc  -DLINUX=22 -DMOD_PERL -DUSE_PERL_SSI
> > -D_REENTRANT  -DTHREADS_HAVE_PIDS -DDEBIAN
> > -fno-strict-aliasing -I/usr/local/include
> > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> > -DUSE_HSREGEX -DNO_DL_NEEDED -D_REENTRANT
> > -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing
> > -I/usr/local/include -D_LARGEFILE_SOURCE
> > -D_FILE_OFFSET_BITS=64 `./apaci` -I.
> > -I/usr/lib/perl/5.8.2/CORE-o hel

/usr/bin/ld: cannot find -lperl

2004-01-19 Thread Craig McMillon
I'm new to this so maybe what I'm about to say is
incorrect. If so please attempt to correct me if
possible. 

Is it possible for me to select which version of perl
I use when building modperl? If so how would I do
that? Could I do this via the makefile?

Also I'm not attempting to install a binary version of
modperl I've downloaded the apache and modperl tar
files and was attempting to build it myself. That's
when I get the: "/usr/bin/ld: cannot find -lperl"
error.

clm

__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html



/usr/bin/ld: cannot find -lperl(More Info.)

2004-01-19 Thread Craig McMillon
Better yet here's the complete error message: 


commmand:
perl
Makefile.PLAPACHE_SRC=/home/cmcmillo/src/apache_1.3.29
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 




error: 
 Error Output for sanity check 
cd ..; cc  -DLINUX=22 -DMOD_PERL -DUSE_PERL_SSI
-D_REENTRANT  -DTHREADS_HAVE_PIDS -DDEBIAN
-fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DUSE_HSREGEX -DNO_DL_NEEDED -D_REENTRANT
-DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 `./apaci` -I.
-I/usr/lib/perl/5.8.2/CORE-o helpers/dummy
helpers/dummy.c   -lm -lcrypt -rdynamic 
-L/usr/local/lib
/usr/lib/perl/5.8.2/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl/5.8.2/CORE -lperl -ldl -lm -lpthread
-lc -lcrypt 
/usr/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
= End of Error Report =


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html



cannot find -lperl?

2004-01-19 Thread Craig McMillon
Has anyone gotten this type of error when installing
modperl: /usr/bin/ld: cannot find -lperl?


-mod_perl-1.28
-apache_1.3.29

clm

__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html



Need help installing modperl please!!!!!!!!!!!

2004-01-17 Thread Craig McMillon
When I attempt to install mod_perl-1.99_12 and
apache_1.3.29 I receive an error.

System: Linux evelyn 2.2.20 #1 Sat Apr 20 11:45:28 EST
2002 i686 
unknown

command: 
perl Makefile.PL
APACHE_SRC=/home/cmcmillo/src/apache_1.3.29/src
DO_HTTPD=1  EVERYTHING=1 MP_DEBUG=1

error messages: 
Reading Makefile.PL args from @ARGV
   MP_DEBUG = 1
* WARNING *

  Your Perl is configured to link against libgdbm,
  but libgdbm.so was not found.
  You could just symlink it to
/usr/lib/libgdbm.so.1.7.3


* WARNING *
!!! Unable to determine server version, aborting.
!!! Please specify MP_APXS or MP_AP_PREFIX.

I'm attempting to install it under a user account that
I've created.
While doing the install I change to root. Could this
be the cause of
the problem? I'm doing this to test out everything
before I install it
on a system-wide basis. Any ideas would be greatly
appreciated. 

log

__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html