Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can not install DBI module on Sun Solaris 2.5.1 1

Status
Not open for further replies.

nancytek

Programmer
Feb 1, 2001
4
0
0
US
Hi there,

I tried to install DBI module on Sun Solaris. At the "make" step, I kept getting "Fatal Error: Command failed for target `DBI.o`. The perl version I installed(not as a root user) is 5.6.0.

Can anyone help ASAP?
 
have u installed DBD before installing DBI. If not try installing DBD first and then DBI. Hope this will help.
 
Hi Tham,

Thanks for trying to help. DBD module installation requires DBI module installation prior to it. So it has to be other things block the DBI installation. Do you or anybody else have clue?

 
Try to go thru the errors listed in "make" step and find out what other modules u need. You can find out the error two lines before the "fatal error..." line.
And the other thing if u r not a super user where u r installing the DBI? If perl is installed in default directory u should have login as a root and do the things otherwise to do the installation manually give the appropriate parameters.. These parameters are listed in the DBI module's README or INSTALL files.. search for them and continue..
-Thameem
 
good morning Nancytek and Tham,
I have many times installed modules and not needed to be root until the 'make install' step. The 'perl Makefile.PL', 'make', and 'make test' steps can usually all be done as a normal user. It is only in the 'make install' that you are trying to modify the default Perl installation, where you do need to be root (unless you are doing a local/user dir installation). I was planning to install DBI/DBD::pg on my system anyway so I went and did it yesterday. I'm using RedHat 7 and had no problems. I downloaded the modules as a normal user to my home dir, did the 'perl Makefile.PL, 'make', 'make test' as a normal user and changed to root to do the 'make install'. Everything worked.

I did notice in the DBI README, that there was some discussion about Solaris.... near the bottom of the doc.

Good Luck.


keep the rudder amid ship and beware the odd typo
 
Hi Tham and GoBoating,

Thanks for your inputs. Unfortunately I am not a root user on Solaris, but I did try to use PREFIX=/test/perl5.6.0/lib as option in the "perl Makefile.PL" command. I also get the lastest gcc mounted on my unix machine. Now I got a differenct errors as: cpp: fork: interrupted system call. Then I found that the disk space is not enough. I will try again with more disk space. Not sure it will solve the problem though.

 
I just get more space on the machine and tried again, still got the same error "cpp:fork:interrupted system call".

Can anyone help?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top