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.
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:g 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.
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.