Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Apr 2002 11:27:31 -0500
From:      stan <stanb@awod.com>
To:        freebsd-ports@freebsd.org
Subject:   FW: penguin-command fails during configure
Message-ID:  <20020401162731.GA27367@teddy.fas.com>

next in thread | raw e-mail | index | archive | help

ON a machien that I cvsup'd this weeeknd, I'm trying to build the
penguin-command port, but it's failing like this:


Script started on Mon Apr  1 11:03:24 2002
brown# runsocks make install
=3D=3D=3D>  Extracting for penguin-command-1.6.2
>> Checksum OK for penguin-command-1.6.2.tar.gz.
=3D=3D=3D>   penguin-command-1.6.2 depends on shared library: SDL_mixer.2 -=
 not found
=3D=3D=3D>    Verifying install for SDL_mixer.2 in /usr/ports/audio/sdl_mix=
er
=3D=3D=3D>  Configuring for sdl_mixer-1.2.1
loading cache ./config.cache
checking host system type... i386-portbld-freebsd4.5
checking target system type... i386-portbld-freebsd4.5
checking for a BSD compatible install... /usr/bin/install -c -o root -g whe=
el
checking whether build environment is sane... yes
checking whether gmake sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether gmake sets ${MAKE}... (cached) yes
checking for gcc... (cached) cc
checking whether the C compiler (cc -O -pipe  ) works... yes
checking whether the C compiler (cc -O -pipe  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking build system type... i386-portbld-freebsd4.5
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /usr/libexec/elf/ld
checking if the linker (/usr/libexec/elf/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking if cc supports -fno-rtti -fno-exceptions ... yes
checking if cc static flag -static works... -static
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking whether the linker (/usr/libexec/elf/ld) supports shared libraries=
... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/libexec/elf/ld option to reload object files... -r
checking dynamic linker characteristics... freebsd4.5 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c -o root -g whe=
el
checking for sdl-config... /usr/local/bin/sdl11-config
checking for SDL - version >=3D 1.2.0... no
*** Could not run SDL test program, checking why...
*** The test program failed to compile or link. See the file config.log for=
 the
*** exact error that occured. This usually means SDL was incorrectly instal=
led
*** or that you have moved SDL since it was installed. In the latter case, =
you
*** may want to edit the sdl-config script: /usr/local/bin/sdl11-config
configure: error: *** SDL version 1.2.0 not found!
=3D=3D=3D>  Script "configure" failed: here are the contents of "config.log"
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:627: checking host system type
configure:648: checking target system type
configure:678: checking for a BSD compatible install
configure:731: checking whether build environment is sane
configure:788: checking whether gmake sets ${MAKE}
configure:834: checking for working aclocal
configure:847: checking for working autoconf
configure:860: checking for working automake
configure:873: checking for working autoheader
configure:886: checking for working makeinfo
configure:902: checking whether gmake sets ${MAKE}
configure:931: checking for gcc
configure:1044: checking whether the C compiler (cc -O -pipe  ) works
configure:1060: cc -o conftest -O -pipe  -I/usr/X11R6/include  conftest.c  =
1>&5
configure:1086: checking whether the C compiler (cc -O -pipe  ) is a cross-=
compiler
configure:1091: checking whether we are using GNU C
configure:1119: checking whether cc accepts -g
configure:1221: checking build system type
configure:1241: checking for ranlib
configure:1280: checking for ld used by GCC
configure:1342: checking if the linker (/usr/libexec/elf/ld) is GNU ld
configure:1358: checking for BSD-compatible nm
configure:1394: checking whether ln -s works
ltconfig:603: checking for object suffix
ltconfig:604: cc -c -O -pipe  -I/usr/X11R6/include conftest.c 1>&5
ltconfig:776: checking if cc PIC flag -fPIC works
ltconfig:777: cc -c -O -pipe  -fPIC -DPIC -I/usr/X11R6/include conftest.c 1=
>&5
ltconfig:829: checking if cc supports -c -o file.o
ltconfig:830: cc -c -O -pipe  -o out/conftest2.o -I/usr/X11R6/include conft=
est.c 1>&5
ltconfig:862: checking if cc supports -c -o file.lo
ltconfig:863: cc -c -O -pipe  -c -o conftest.lo -I/usr/X11R6/include confte=
st.c 1>&5
ltconfig:914: checking if cc supports -fno-rtti -fno-exceptions
ltconfig:915: cc -c -O -pipe  -fno-rtti -fno-exceptions -c conftest.c -I/us=
r/X11R6/include conftest.c 1>&5
ltconfig:958: checking if cc static flag -static works
ltconfig:959: cc -o conftest -O -pipe  -I/usr/X11R6/include  -static confte=
st.c  1>&5
GNU ld version 2.11.2 20010719 [FreeBSD] (with BFD 2.11.2 20010719 [FreeBSD=
])
ltconfig:1635: checking if global_symbol_pipe works
ltconfig:1636: cc -c -O -pipe  -I/usr/X11R6/include conftest.c 1>&5
ltconfig:1639: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ 	]\([ABC=
DGISTW]\)[ 	][ 	]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.=
nm"
ltconfig:1691: cc -o conftest -O -pipe  -fno-builtin -fno-rtti -fno-excepti=
ons -I/usr/X11R6/include  conftest.c conftstm.o 1>&5
configure:1799: checking for a BSD compatible install
configure:1921: checking for sdl-config
configure:1956: checking for SDL - version >=3D 1.2.0
configure:2041: cc -o conftest -O -pipe  -I/usr/local/include -I/usr/local/=
include/SDL11 -D_REENTRANT -D_THREAD_SAFE -I/usr/X11R6/include  conftest.c =
 -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL-1.1 -pthread -lm -L/usr/l=
ocal/lib -lesd -laudiofile -lm -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lXx=
f86dga -lvga -laa 1>&5
/usr/libexec/elf/ld: cannot find -laa
configure: failed program was:
#line 1980 "configure"
#include "confdefs.h"

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "SDL.h"

char*
my_strdup (char *str)
{
  char *new_str;
 =20
  if (str)
    {
      new_str =3D (char *)malloc ((strlen (str) + 1) * sizeof(char));
      strcpy (new_str, str);
    }
  else
    new_str =3D NULL;
 =20
  return new_str;
}

int main (int argc, char *argv[])
{
  int major, minor, micro;
  char *tmp_version;

  /* This hangs on some systems (?)
  system ("touch conf.sdltest");
  */
  { FILE *fp =3D fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }

  /* HP/UX 9 (%@#!) writes to sscanf strings */
  tmp_version =3D my_strdup("1.2.0");
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) !=3D 3) {
     printf("%s, bad version string\n", "1.2.0");
     exit(1);
   }

   if ((1 > major) ||
      ((1 =3D=3D major) && (2 > minor)) ||
      ((1 =3D=3D major) && (2 =3D=3D minor) && (3 >=3D micro)))
    {
      return 0;
    }
  else
    {
      printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minim=
um version\n", 1, 2, 3);
      printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, th=
en it is\n", major, minor, micro);
      printf("*** best to upgrade to the required version.\n");
      printf("*** If sdl-config was wrong, set the environment variable SDL=
_CONFIG\n");
      printf("*** to point to the correct copy of sdl-config, and remove th=
e file\n");
      printf("*** config.cache before re-running configure\n");
      return 1;
    }
}


configure:2090: cc -o conftest -O -pipe  -I/usr/local/include -I/usr/local/=
include/SDL11 -D_REENTRANT -D_THREAD_SAFE -I/usr/X11R6/include  conftest.c =
 -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL-1.1 -pthread -lm -L/usr/l=
ocal/lib -lesd -laudiofile -lm -L/usr/X11R6/lib -lX11 -lXext -lXxf86vm -lXx=
f86dga -lvga -laa 1>&5
/usr/libexec/elf/ld: cannot find -laa
configure: failed program was:
#line 2075 "configure"
#include "confdefs.h"

#include <stdio.h>
#include "SDL.h"

int main(int argc, char *argv[])
{ return 0; }
#undef  main
#define main K_and_R_C_main

int main() {
 return 0;=20
; return 0; }
(end of "config.log")
*** Error code 1

Stop in /usr/ports/audio/sdl_mixer.
*** Error code 1

Stop in /usr/ports/games/penguin-command.
brown# ^D=08=08exit

Script done on Mon Apr  1 11:03:44 2002

Sugestiosn as to how to fix this?


--=20
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
						-- Benjamin Franklin


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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