pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/29419: package games/lbreakout fails build



The following reply was made to PR pkg/29419; it has been noted by GNATS.

From: A L Meyers <me%privacy.net@localhost>
To: Thomas Klausner <wiz%NetBSD.org@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: pkg/29419: package games/lbreakout fails build
Date: Thu, 17 Feb 2005 16:34:01 +0100

 This is a multi-part message in MIME format.
 --------------090206050804070903070403
 Content-Type: text/plain; charset=us-ascii; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Thomas Klausner wrote:
 
 >On Thu, Feb 17, 2005 at 03:14:01PM +0000, 
 >almeyers%consult-meyers.com@localhost wrote:
 >  
 >
 >>>Number:         29419
 >>>Category:       pkg
 >>>Synopsis:       package games/lbreakout fails build
 >>>      
 >>>
 >...
 >  
 >
 >>checking for sdl-config... /usr/pkg/bin/sdl-config
 >>checking for SDL - version >= 1.0.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 
 >>installed
 >>*** or that you have moved SDL since it was installed. In the latter case, 
 >>you
 >>*** may want to edit the sdl-config script: /usr/pkg/bin/sdl-config
 >>    
 >>
 >
 >Please include the relevant part of config.log so that we
 >can see why it failed.
 > Thomas
 >
 >  
 >
 Hello Thomas,
 
 Am attaching the relevant config.log.
 
 Regards,
 
 Lux
 
 --------------090206050804070903070403
 Content-Type: text/x-log;
  name="config.log"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="config.log"
 
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
 configure:577: checking for a BSD compatible install
 configure:630: checking whether build environment is sane
 configure:687: checking whether bmake sets ${MAKE}
 configure:733: checking for working aclocal
 configure:746: checking for working autoconf
 configure:759: checking for working automake
 configure:772: checking for working autoheader
 configure:785: checking for working makeinfo
 configure:802: checking for gcc
 configure:915: checking whether the C compiler (gcc -O2 -I/usr/pkg/include 
-DGLX_GLXEXT_LEGACY -I/usr/include  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib 
-L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib) works
 configure:931: gcc -o conftest -O2 -I/usr/pkg/include -DGLX_GLXEXT_LEGACY 
-I/usr/include   -I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include  
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib 
-Wl,-R/usr/X11R6/lib conftest.c  1>&5
 configure:957: checking whether the C compiler (gcc -O2 -I/usr/pkg/include 
-DGLX_GLXEXT_LEGACY -I/usr/include  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib 
-L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib) is a 
cross-compiler
 configure:962: checking whether we are using GNU C
 configure:971: gcc -E conftest.c
 configure:990: checking whether gcc accepts -g
 configure:1026: checking for c++
 configure:1058: checking whether the C++ compiler (g++ -O2 -I/usr/pkg/include 
-DGLX_GLXEXT_LEGACY -I/usr/include  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib 
-L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib) works
 configure:1074: g++ -o conftest -O2 -I/usr/pkg/include -DGLX_GLXEXT_LEGACY 
-I/usr/include   -I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include  
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib 
-Wl,-R/usr/X11R6/lib conftest.C  1>&5
 configure:1100: checking whether the C++ compiler (g++ -O2 -I/usr/pkg/include 
-DGLX_GLXEXT_LEGACY -I/usr/include  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib 
-L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib) is a 
cross-compiler
 configure:1105: checking whether we are using GNU C++
 configure:1114: g++ -E conftest.C
 configure:1133: checking whether g++ accepts -g
 configure:1167: checking for ranlib
 configure:1196: checking for main in -lm
 configure:1211: gcc -o conftest -O2 -I/usr/pkg/include -DGLX_GLXEXT_LEGACY 
-I/usr/include   -I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include  
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib 
-Wl,-R/usr/X11R6/lib conftest.c -lm   1>&5
 configure:1282: checking for sdl-config
 configure:1317: checking for SDL - version >= 1.0.0
 configure:1396: gcc -o conftest -O2 -I/usr/pkg/include -DGLX_GLXEXT_LEGACY 
-I/usr/include -I/usr/pkg/include/SDL -D_REENTRANT   -I/usr/pkg/include 
-DGLX_GLXEXT_LEGACY -I/usr/include  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib 
-L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib conftest.c -lm  
-L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -lSDL -lpthread -lpthread -lcompat 1>&5
 /usr/bin/ld: cannot find -lcompat
 collect2: ld returned 1 exit status
 configure: failed program was:
 #line 1341 "configure"
 #include "confdefs.h"
 
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include "SDL.h"
 
 char*
 my_strdup (char *str)
 {
   char *new_str;
   
   if (str)
     {
       new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
       strcpy (new_str, str);
     }
   else
     new_str = NULL;
   
   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 = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
 
   /* HP/UX 9 (%@#!) writes to sscanf strings */
   tmp_version = my_strdup("1.0.0");
   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
      printf("%s, bad version string\n", "1.0.0");
      exit(1);
    }
 
    if ((1 > major) ||
       ((1 == major) && (2 > minor)) ||
       ((1 == major) && (2 == minor) && (8 >= micro)))
     {
       return 0;
     }
   else
     {
       return 1;
     }
 }
 
 
 configure:1440: gcc -o conftest -O2 -I/usr/pkg/include -DGLX_GLXEXT_LEGACY 
-I/usr/include -I/usr/pkg/include/SDL -D_REENTRANT   -I/usr/pkg/include 
-DGLX_GLXEXT_LEGACY -I/usr/include  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib 
-L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib conftest.c -lm  
-L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -lSDL -lpthread -lpthread -lcompat 1>&5
 /usr/bin/ld: cannot find -lcompat
 collect2: ld returned 1 exit status
 configure: failed program was:
 #line 1430 "configure"
 #include "confdefs.h"
 
 #include <stdio.h>
 #include "SDL.h"
 
 int main() {
  return 0; 
 ; return 0; }
 
 --------------090206050804070903070403--
 



Home | Main Index | Thread Index | Old Index