Recompiling perl from scratch

D

dn.perl

While installing DBI package, I got the error :
command failed for target Perl.o

I had first added the package perl_s-5.8.5-sol8-sparc-local , and then
I added gcc-2.95.3-sol8-sparc-local . Then I tried to install DBI.

The forum's archives suggest that I should first install gcc, and then
build perl from scratch. I tried it (ran pkgadd -d) but installing DBI
still gives the same error.

1) Should I have installed gcc first before installing perl ?
I had installed Perl 5.8.5 first, and then gcc.
2) How do I uninstall perl 5.8.5 and then re-install it 'from
scratch'?
3) For gcc-3.3.2, it is suggested that we should first install
libgcc-3.4.6
and libiconv-1.11 packages but no such suggestion is made for
gcc-2.95.3 . Should libgcc and libiconv be installed anyway?

When I login as root, variable LD_LIBRARY_PATH is not set. Should
it be set to any value when compiling DBI module?

Thanks in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top