From owner-freebsd-questions@FreeBSD.ORG Sun Jun 28 22:18:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 601D8106566C for ; Sun, 28 Jun 2009 22:18:55 +0000 (UTC) (envelope-from alexus@gmail.com) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.210.181]) by mx1.freebsd.org (Postfix) with ESMTP id 0BC048FC1B for ; Sun, 28 Jun 2009 22:18:54 +0000 (UTC) (envelope-from alexus@gmail.com) Received: by yxe11 with SMTP id 11so3213002yxe.3 for ; Sun, 28 Jun 2009 15:18:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=UwLlTVNuZ4JuB45sszCV+FjMRDYlk+H3h0T6eznbUcE=; b=ta35Mnql74Q7LMhrt6+ZkeiuEsYnn2XeKcFOpcDcxsU+0lFipyDkKjyw2TWgBxMehu 9pBYzJuMiVS53x+oLDGTAyyjQpZc39xk0dHkUZLl1XeSIhiLV1RFzUzO27Uv3NLVuP0G CkUq7LoPxVEwaA5pJwXekvU43FGFVBXHbBWdM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=pIwnZi4H8bi6ajSgDOwxr2twduay1WlD/4+YL1oguYe13K1y5EhMoBFfda0V/4iwDc +dOzHzCkBWnyogAyV3U4+lyYczt8EJWnataj6pMjcvNCM8969hakhJL/NRy50BdfAx1T W9DL1Quvbp1sr5dmmJtWvWUjRYl4uCt6f1jYo= MIME-Version: 1.0 Received: by 10.150.204.19 with SMTP id b19mr1293079ybg.267.1246227534491; Sun, 28 Jun 2009 15:18:54 -0700 (PDT) In-Reply-To: <200906281414.16019.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <6ae50c2d0906281009n24381ad3j59125e237739ca2c@mail.gmail.com> <6ae50c2d0906281340p68b5f8ewa41095e694cf5ff8@mail.gmail.com> <200906281414.16019.mel.flynn+fbsd.questions@mailing.thruhere.net> Date: Sun, 28 Jun 2009 18:18:54 -0400 Message-ID: <6ae50c2d0906281518m422783f0lf57014459bc11b5f@mail.gmail.com> From: alexus To: Mel Flynn Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: libtool shared X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jun 2009 22:18:55 -0000 On Sun, Jun 28, 2009 at 6:14 PM, Mel Flynn wrote: > On Sunday 28 June 2009 12:40:24 alexus wrote: > >> company policy not too use ports, any other suggestions? > > Understand GNU autotools in detail, the patches for it in the respective > ports, how to read config.log and whether all this is worth compliance to > company policy. > Note: the above requires at least two weeks of non-productive self-education > on the boss' clock, judging from the fact you post configure output, rather > then config.log snippets (without being judgmental or condescending: it shows > you are just starting with the GNU autotools experience). Recently > Giorgos posted a nice summary of what you'd need to learn [1]. > > Of course, I'm presuming installing/maintaining software is something that > belongs to your daily tasks. If you only need to fix this specific problem, > we would need output from config.log around the lines where it says it can't > build shared libs. > > [1] http://www.freebsd.org/cgi/mid.cgi?db=mid&id=87hbyk6h02.fsf@kobe.laptop > -- > Mel > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > gc# cat config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:538: checking for gcc configure:615: checking whether the C compiler (gcc ) works configure:629: gcc -o conftest conftest.c 1>&5 configure:649: checking whether the C compiler (gcc ) is a cross-compiler configure:654: checking whether we are using GNU C configure:663: gcc -E conftest.c configure:681: checking how to run the C preprocessor configure:702: gcc -E conftest.c >/dev/null 2>conftest.out configure:742: checking for function prototypes configure:765: gcc -c -O2 conftest.c 1>&5 configure:792: checking for stddef.h configure:802: gcc -E conftest.c >/dev/null 2>conftest.out configure:828: checking for stdlib.h configure:838: gcc -E conftest.c >/dev/null 2>conftest.out configure:864: checking for string.h configure:874: gcc -E conftest.c >/dev/null 2>conftest.out configure:900: checking for size_t configure:923: gcc -c -O2 conftest.c 1>&5 configure:994: checking for type unsigned char configure:1003: gcc -c -O2 conftest.c 1>&5 configure:1018: checking for type unsigned short configure:1027: gcc -c -O2 conftest.c 1>&5 configure:1042: checking for type void configure:1072: gcc -c -O2 conftest.c 1>&5 configure:1088: checking for working const configure:1142: gcc -c -O2 conftest.c 1>&5 configure:1163: checking for inline configure:1174: gcc -c -O2 conftest.c 1>&5 configure:1224: checking for broken incomplete types configure:1233: gcc -c -O2 conftest.c 1>&5 configure:1248: checking for short external names configure:1260: gcc -o conftest -O2 conftest.c 1>&5 configure:1275: checking to see if char is signed configure:1306: gcc -o conftest -O2 conftest.c 1>&5 configure: failed program was: #line 1282 "configure" #include "confdefs.h" #ifdef HAVE_PROTOTYPES int is_char_signed (int arg) #else int is_char_signed (arg) int arg; #endif { if (arg == 189) { /* expected result for unsigned char */ return 0; /* type char is unsigned */ } else if (arg != -67) { /* expected result for signed char */ printf("Hmm, it seems 'char' is not eight bits wide on your machine.\n"); printf("I fear the JPEG software will not work at all.\n\n"); } return 1; /* assume char is signed otherwise */ } char signed_char_check = (char) (-67); main() { exit(is_char_signed((int) signed_char_check)); } configure:1323: checking to see if right shift is signed configure:1358: gcc -o conftest -O2 conftest.c 1>&5 configure: failed program was: #line 1328 "configure" #include "confdefs.h" #ifdef HAVE_PROTOTYPES int is_shifting_signed (long arg) #else int is_shifting_signed (arg) long arg; #endif /* See whether right-shift on a long is signed or not. */ { long res = arg >> 4; if (res == -0x7F7E80CL) { /* expected result for signed shift */ return 1; /* right shift is signed */ } /* see if unsigned-shift hack will fix it. */ /* we can't just test exact value since it depends on width of long... */ res |= (~0L) << (32-4); if (res == -0x7F7E80CL) { /* expected result now? */ return 0; /* right shift is unsigned */ } printf("Right shift isn't acting as I expect it to.\n"); printf("I fear the JPEG software will not work at all.\n\n"); return 0; /* try it with unsigned anyway */ } main() { exit(is_shifting_signed(-0x7F7E80B1L)); } configure:1375: checking to see if fopen accepts b spec configure:1390: gcc -o conftest -O2 conftest.c 1>&5 configure:1436: checking for a BSD compatible install configure:1488: checking for ranlib configure:1650: checking libjpeg version number C ltconfig:432: gcc -E conftest.c ltconfig:547: checking if gcc PIC flag -fPIC works ltconfig:548: gcc -c -fPIC -DPIC conftest.c 1>&5 ltconfig:591: checking if gcc static flag -static works ltconfig:592: gcc -o conftest -static conftest.c 1>&5 ltconfig:624: checking for ld used by GCC GNU ld version 2.15 [FreeBSD] 2004-05-23 ltconfig:971: checking if global_symbol_pipe works ltconfig:972: gcc -c conftest.c 1>&5 ltconfig:975: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.* [ABCDGISTUW] \([_A-Za-z][_A-Za-z0-9]*\)$/\1 \1/p' > conftest.nm" ltconfig:1033: gcc -o conftest -fno-builtin conftest.c conftestm.o 1>&5 gc# -- http://alexus.org/