lyanezc has asked for the wisdom of the Perl Monks concerning the following question:

I'm installing the DBI module for DB Access on Aix 4.3.3, but I need to install some modules first. All the modules have the next install commands: perl Makefile.PL, make, make test, make install. I have installed successfully the make 1.0 module, but, I donīt have de make file. When I run "make" the next message appear: ksh: pmake: not found. I have: Aix 4.3.3 Perl 5.6.1 What I need to do? Thanks, Luis Yanez

Replies are listed 'Best First'.
Re: make file
by polettix (Vicar) on Sep 07, 2005 at 16:48 UTC
    make is an application completely unrelated to Perl. You can find the GNU implementation here, and you can try to look for already-compiled packages. Moreover, it seems that make points to pmake in your system, so I'd try to dig it more in depth on the net.

    Flavio
    perl -ple'$_=reverse' <<<ti.xittelop@oivalf

    Don't fool yourself.
Re: make file
by Codon (Friar) on Sep 07, 2005 at 16:43 UTC
    Have you tried:
    $ perl -MCPAN -e shell cpan> install DBI
    This would use CPAN to do the install and would install the necessary predependencies. If you are not root, there is a way to set up a Config.pm in your PERL5LIB that would allow you to install CPAN modules under your own home directory. I have done this before, but I do not remeber the steps.

    Is there a reason that you have to do a manual install?

    Ivan Heffner
    Sr. Software Engineer, DAS Lead
    WhitePages.com, Inc.
Re: make file
by etm117 (Pilgrim) on Sep 07, 2005 at 17:34 UTC
    I have an AIX 4.3.3 machine here and I find make is installed in the following location:

    > which make /usr/bin/make

    I'd manually check to see if make is located there for your install also. If it is, you can run the make command above using /usr/bin/make.

    Another option is to see if your make is aliased to that pmake command by doing alias make. If it returns something, then that means someone (either your local profile or the system level profile) set up an alias to the pmake program that seems to no longer exist on your machine.

    Thus if make is aliased to pmake, you can revert that for your current session by running alias make=/usr/bin/make (using the location from which make command showed above. Also you can go to your user's home directory and edit the .profile file and add that alias line to it and then it will be there every time. (You may find in your .profile is where the original alias exists).

    Hopefully that helps.