Click to See Complete Forum and Search --> : Compiling Perl


Silent Bob
08-01-2001, 10:22 AM
I don't know if this is the best place to put this, but what the hey.

Every time I try to 'make' perl I get the same error gcc: lib/auto/DynaLoader/DynaLoader.a : no such file or directory
make: *** [perl] Error 1

Anybody know how to fix this, I really need to get perl installed so I can install a whole load of other stuff.

This is on RedHat 6.2 and perl-5.6.0

thanks

TheLinuxDuck
08-01-2001, 12:58 PM
Silent Bob:

This is the best place to put it, as a matter of fact!

I don't recognize the file it's looking for, but I can try to help point you in the right direction. Be warned that I don't know what the problem is, nor am I sure how to fix it... I am merely going to give some suggestions of things that I would try if I were having that problem.

Now, lib/auto/DynaLoader is a part of the perl source archive. First thing I would do is to look into the perl-5.6.0/lib/auto/DynaLoader directory, and verify visually that the DynaLoader.a file does not exist.

Here is the contents of that directory on my end (successfully compiled on a MIPS processor)

/home/root/source/perl-5.6.0/lib/auto/DynaLoader> ls -al
total 28
drwxr-xr-x 2 root 1001 1024 Feb 16 14:09 .
drwxr-xr-x 23 root 1001 1024 Oct 20 2000 ..
-rw-r--r-- 1 root 1001 0 Mar 18 2000 .exists
-rwxr-xr-x 1 root 1001 14922 Feb 16 14:09 DynaLoader.a
-rw-r--r-- 1 root 1001 181 Oct 20 2000 autosplit.ix
-rw-r--r-- 1 root 1001 1262 Oct 20 2000 dl_expandspec.al
-rw-r--r-- 1 root 1001 498 Oct 20 2000 dl_find_symbol_anywhere.
al
-rw-r--r-- 1 root 1001 4288 Oct 20 2000 dl_findfile.al
-rw-r--r-- 1 root 1001 1 Feb 16 14:09 extralibs.ld


Next, take a look in the perl-5.6.0/lib directory for the existance of DynaLoader.pm. It should be there.

What switches did you use with './Configure' ? What kinds of error messages did it return, if any? Are you trying to do anything special, or even perhaps different from the default? Where is your current version of perl install to?

Did you read through all the relative sections of INSTALL? Even if you're not a reader, it is very wise to peruse the INSTALL file, and double check the steps you took.

What compiler are you using? Version?

That's about all I can think of off the top of my head.

Silent Bob
08-01-2001, 03:03 PM
Thanks for the reply.

The only switch I used was -Dcc=gcc and that was just to see if using gcc would sort out some other errors.

I'm going to give it another go once I get back into work :)