Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jun 2009 18:18:54 -0400
From:      alexus <alexus@gmail.com>
To:        Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: libtool shared
Message-ID:  <6ae50c2d0906281518m422783f0lf57014459bc11b5f@mail.gmail.com>
In-Reply-To: <200906281414.16019.mel.flynn%2Bfbsd.questions@mailing.thruhere.net>
References:  <6ae50c2d0906281009n24381ad3j59125e237739ca2c@mail.gmail.com> <h28a06$hmt$1@ger.gmane.org> <6ae50c2d0906281340p68b5f8ewa41095e694cf5ff8@mail.gmail.com> <200906281414.16019.mel.flynn%2Bfbsd.questions@mailing.thruhere.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 28, 2009 at 6:14 PM, Mel
Flynn<mel.flynn+fbsd.questions@mailing.thruhere.net> 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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6ae50c2d0906281518m422783f0lf57014459bc11b5f>