Subject: Re: Solaris pkgsrc
To: Dima Veselov <kab00m@lich.phys.spbu.ru>
From: Julien T. Letessier <mezis@users.sourceforge.net>
List: tech-pkg
Date: 08/19/2003 20:14:48
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigBBD8311697846DA233F069EE
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Dima Veselov wrote:

> I am using pkgsrc on Solaris 8/sparc and have problems compiling some packages.
> Compiling OpenSSL needs Perl and crashes compiling it, because ld have'nt -E flag.

Could you send me a log of your crashing build? I don't remember perl5 
using the -E switch during its build (just curious).

> 2. What should be done with ld, maybe some Solaris patches requires to be applied?

You're using Sun's ld, and this breaks a lot of packages. I originally 
used it with pkgsrc, then quickly switched to a GNU compile chain. 
There's a small performance hit (i'd say 5% on average), but then, 
sparcs are fast :)

My solution:

Install lang/gcc and devel/binutils (which provides ld), and use these 
to build lang/perl5 or lang/perl58 and security/openssl. GCC 2.95.3 is 
reliable on Solaris.

Cheers,
-- 
Julien T. Letessier
Solarpack Project
http://solarpack.sourceforge.net

()  ascii ribbon campaign - against html mail & vCards
/\                        - against microsoft attachments

--------------enigBBD8311697846DA233F069EE
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAj9CaSIACgkQD59VlPZXlnMZEgCgrPCdjPl55NLSA3PR/rioW2xj
BEAAn3eO0w2ANfnuknuoRM4/iSHyVAiP
=+aVE
-----END PGP SIGNATURE-----

--------------enigBBD8311697846DA233F069EE--