×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Can not install DBI module on Sun Solaris 2.5.1

Can not install DBI module on Sun Solaris 2.5.1

Can not install DBI module on Sun Solaris 2.5.1

(OP)
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?

RE: Can not install DBI module on Sun Solaris 2.5.1

have u installed DBD before installing DBI. If not try installing DBD first and then DBI. Hope this will help.

RE: Can not install DBI module on Sun Solaris 2.5.1

(OP)
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?

RE: Can not install DBI module on Sun Solaris 2.5.1

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

RE: Can not install DBI module on Sun Solaris 2.5.1

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

RE: Can not install DBI module on Sun Solaris 2.5.1

(OP)
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.

RE: Can not install DBI module on Sun Solaris 2.5.1

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

Can anyone help?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close