in reply to Re: building perl 5.6.1 on solaris 8
in thread building perl 5.6.1 on solaris 8

I am using gcc. I read the INSTALL doc and will do it again to amke sure I have not missed anything.

Replies are listed 'Best First'.
Re^3: building perl 5.6.1 on solaris 8
by ark4.0 (Initiate) on Sep 13, 2005 at 16:01 UTC
    Read the INSTALL file and the README.solaris files for the upteenth time. Following are the changes I make in the configure
    > sh Configure -Dcc='gcc -B/usr/ccs/bin/'

    * I change the LD_LIBRARY_PATH to exclude the /lib and /usr/lib, as recommended in README.solaris
    * do not use the malloc that comes with perl5,
    * I keep the /usr/bin/perl (Sun installed) and install the new version under /usr/local/bin.
    * using Sun make, as, and ld.
    * gcc version 3.3.2, Solaris 8 (sparc), perl 5.6.1
    * Configure runs fine, as well as the make depend it runs.
    * make fails first on identifying <built-in> in the makefile as well as <command-line>. I remove them both and re-run the make, still get the following error

    Making x2p stuff make: Warning: Both `makefile' and `Makefile' exist Current working directory /u01/home/znaqvi/perl-5.6.1/x2p make: Fatal error: Don't know how to make target `<built-in>' Current working directory /u01/home/znaqvi/perl-5.6.1/x2p *** Error code 1 make: Fatal error: Command failed for target `translators'
      Problem solved. There was a makefile in the x2p directory, I removed the built-in and command line references and the make finished without a problem.