X-Original-To: pgsql-bugs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id BACFF8B9B4D; Mon, 31 Jan 2005 14:08:02 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 64679-02; Mon, 31 Jan 2005 14:07:55 +0000 (GMT) Received: from mxfep01.bredband.com (mxfep01.bredband.com [195.54.107.70]) by svr1.postgresql.org (Postfix) with ESMTP id F0CAE8B9B62; Mon, 31 Jan 2005 14:07:52 +0000 (GMT) Received: from [192.168.0.101] ([82.182.49.132] [82.182.49.132]) by mxfep01.bredband.com with ESMTP id <20050131140751.RCSZ12264.mxfep01.bredband.com@[192.168.0.101]>; Mon, 31 Jan 2005 15:07:51 +0100 Message-ID: <41FE3BB9.1080306@kstr.lth.se> Date: Mon, 31 Jan 2005 15:07:53 +0100 From: Rolf Sponsel User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.7.5) Gecko/20041217 X-Accept-Language: en, sv, de, es MIME-Version: 1.0 To: pgsql-bugs@postgresql.org, pgsql-ports@postgresql.org Subject: [Feed-back] Installing PostgreSQL 8.0.0 on SPARC/Solaris. Configure and install issues Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200502/6 X-Sequence-Number: 10838 ***************************************** Seem like I have to re-post once more; since my post including the log file seemed to exceede the allowed length restriction for posted messages, imposed by your mail server. This time I'll provide the "attachement" as a link to wherefrom you can download the logfile (for a few weeks or so). Please *download* the plain text (it's not html pre-formatted) log file from here: http://sponsel.eu.org/?m=tmp&d=Install-sparc-solaris7-postgresql-8.0.0.log Kind Regards Rolf Sponsel ***************************************** Sorry for reposting. Made a classic misstake!? Of course, forgot to attache the logfile. :-) ***************************************** Hi, I've successfully built PostgreSQL 8.0.0 on SPARC/Solaris (7), with gcc-3.2.2. Hardware is SPARCstation 5, 170 MHz. Because it doesn't build optimally right out of the box, I'd like to provide you with some feed-back. From my understanding, the preferred way for Solaris is to only set LD_RUN_PATH, and avoid setting LD_LIBRARY_PATH, at link-time. This is what I usually do. Should you need information about this then please have a look at: http://www.visi.com/~barr/ldpath.html Why LD_LIBRARY_PATH is bad During the build, I had the following issues: 1). If I run './configure --with-pam --with-ssl' with LD_RUN_PATH = '/usr/local/ssl/lib:/usr/local/lib' configure will fail to find the ssl libs, if I do not have LD_LIBRARY_PATH set. 2). If I do set LD_LIBRARY_PATH, './configure ...' will not find OpenSSL's include files. 3). Thus, to configure/build with OpenSSL, using only LD_RUN_PATH, i have to explicitly specify the paths to OpenSSL's libraries and include files. 4). 'make install' fails unless LD_LIBRARY_PATH is set. Please see the attached log file showing these issues in deatail. Please feel free to contact me if you should need more information. Hope this information helps you to improve the installation procedures for PostgreSQL even more. Thank you all! for your efforts, and for providing providing this excellent piece of software. Kind Regards, Rolf Sponsel -- ---- ------ -------- Rolf Sponsel ___________________________________________e_n_d___o_f___m_e_s_s_a_g_e_