Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h7vUN-0008Aj-Dr for pgsql-odbc@arkaria.postgresql.org; Sun, 24 Mar 2019 05:16:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h7vUM-0004p3-1O for pgsql-odbc@arkaria.postgresql.org; Sun, 24 Mar 2019 05:16:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h7vUL-0004ov-Rm for pgsql-odbc@lists.postgresql.org; Sun, 24 Mar 2019 05:16:05 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h7vUJ-0004Kz-1V for pgsql-odbc@postgresql.org; Sun, 24 Mar 2019 05:16:05 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x2O5FvXR031523; Sun, 24 Mar 2019 01:15:57 -0400 From: Tom Lane To: Igor Korot cc: PostgreSQL ODBC list Subject: Re: Building libpq independently of server In-reply-to: References: <17321.1536983731@sss.pgh.pa.us> Comments: In-reply-to Igor Korot message dated "Sat, 23 Mar 2019 22:42:01 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <31521.1553404557.1@sss.pgh.pa.us> Date: Sun, 24 Mar 2019 01:15:57 -0400 Message-ID: <31522.1553404557@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Igor Korot writes: > I just tried to build the libpq from sources on the Oracle Solaris 11.4. > Below is the console output: > igor@solaris:~/dbhandlerSol/libpq$ ./configure > ... > igor@solaris:~/dbhandlerSol/libpq$ cd src/interfaces/libpq/ > igor@solaris:~/dbhandlerSol/libpq/src/interfaces/libpq$ make > make: Fatal error in reader: ../../../src/Makefile.global, line 45: > Unexpected end of line seen The first thing that occurs to me is that "make" on your system is not GNU make, so that you need to use "gmake" instead. regards, tom lane