All pastes #350694 Raw Edit

fireedo

public text v1 · immutable
·published 2007-02-11 17:18 UTC
rendered paste body
sansan@openSUSE:/mnt/dataku/dataku/Linuxapp/vbox> ./configure
Checking for environment: Determined linux.x86, OK.
Checking for kBuild: found, OK.
Checking for gcc: found version 4.1.2, using precompiled objects for recompiler, OK.
Checking for as86: found version , OK.
Checking for bcc: found version , OK.
Checking for iasl: found version 20060912, OK.
Checking for xslt: found, OK.
Checking for xalan: found version 1.10.0, OK.
Checking for xerces: found version 2.7.0, OK.
Checking for libIDL: found version 0.8.7, OK.
Checking for uuid: found, OK.
Checking for pthread: found, OK.
Checking for zlib: found version 1.2.3, OK.
Checking for SDL: found version 1.2.11, OK.
Checking for ALSA: found version 1.0.13, OK.
Checking for Xcursor: found, OK.
Checking for X libraries: found, OK.
Checking for Qt: found version 3.3.7, OK.
Checking for Qt devtools: found version 3.3.7, OK.
Checking for Linux kernel sources:
  Linux kernel headers not found at /usr/src/linux
  Check the file configure.log for detailed error information.

and this configure.log
# Log file generated by
#
#   './configure '
#

***** Checking environment *****
Determined linux.x86


***** Checking kBuild *****
found


***** Checking gcc *****
found version 4.1.2, using precompiled objects for recompiler


***** Checking as86 *****
found version 


***** Checking bcc *****
compiling the following source file:

int foo(a)
  int a;
{
  return 0;
}

using the following command line:
bcc -B /usr/bin/ -C-c -3 -S -o .tmp_out .tmp_src.c
found version 


***** Checking iasl *****
found version 20060912


***** Checking xslt *****
found


***** Checking xalan *****
compiling the following source file:

#include <cstdio>
#include <xalanc/Include/XalanVersion.hpp>
extern "C" int main(void)
{
  printf("found version %d.%d.%d",
         XALAN_VERSION_MAJOR, XALAN_VERSION_MINOR, XALAN_VERSION_REVISION);
#if _XALAN_VERSION >= 10800
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 1.8.0 or higher\n");
  return 1;
#endif
}

using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc "-lxalan-c "
executing the binary
found version 1.10.0, OK.



***** Checking xerces *****
compiling the following source file:

#include <cstdio>
#include <xercesc/util/XercesVersion.hpp>
extern "C" int main(void)
{
  printf("found version %d.%d.%d",
         XERCES_VERSION_MAJOR, XERCES_VERSION_MINOR, XERCES_VERSION_REVISION);
#if _XERCES_VERSION >= 20500
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.5.0 or higher");
  return 1;
#endif
}

using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc "-lxerces-c "
executing the binary
found version 2.7.0, OK.



***** Checking libIDL *****
found version 0.8.7


***** Checking uuid *****
compiling the following source file:

#include <cstdio>
#include <uuid/uuid.h>
extern "C" int main(void)
{
  uuid_t uu;
  uuid_clear(uu);
  if (uuid_is_null(uu)) {
    printf("found, OK.\n");
    return 0;
  } else {
    printf("uuid found but does not work\n");
    return 1;
  }
}

using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc "-luuid"
executing the binary
found, OK.



***** Checking pthread *****
compiling the following source file:

#include <cstdio>
#include <pthread.h>
extern "C" int main(void)
{
  pthread_mutex_t mutex;
  if (pthread_mutex_init(&mutex, NULL)) {
    printf("pthread_mutex_init() failed\n");
    return 1;
  }
  if (pthread_mutex_lock(&mutex)) {
    printf("pthread_mutex_lock() failed\n");
    return 1;
  }
  if (pthread_mutex_unlock(&mutex)) {
    printf("pthread_mutex_unlock() failed\n");
    return 1;
  }
  printf("found, OK.\n");
}

using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc "-lpthread"
executing the binary
found, OK.



***** Checking zlib *****
compiling the following source file:

#include <cstdio>
#include <zlib.h>
extern "C" int main(void)
{
  printf("found version %s", ZLIB_VERSION);
#if ZLIB_VERNUM >= 0x1210
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 1.2.1 or higher\n");
  return 1;
#endif
}

using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc "-lz "
executing the binary
found version 1.2.3, OK.



***** Checking SDL *****
compiling the following source file:

#include <cstdio>
#include <SDL/SDL.h>
#include <SDL/SDL_main.h>
extern "C" int main(void)
{
  printf("found version %d.%d.%d",
         SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_PATCHLEVEL);
#if SDL_VERSION_ATLEAST(1,2,7)
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 1.2.7 or higher\n");
  return 1;
#endif
}

using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc "-lSDL -lSDLmain -I/usr/include/SDL"
executing the binary
found version 1.2.11, OK.



***** Checking ALSA *****
compiling the following source file:

#include <alsa/asoundlib.h>
extern "C" int main(void)
{
  printf("found version %d.%d.%d",
         SND_LIB_MAJOR, SND_LIB_MINOR, SND_LIB_SUBMINOR);
#if 10000*SND_LIB_MAJOR + 100*SND_LIB_MINOR + SND_LIB_SUBMINOR >= 10008
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 1.0.8 or higher\n");
  return 1;
#endif
}

using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc "-lasound"
executing the binary
found version 1.0.13, OK.



***** Checking Xcursor *****
compiling the following source file:

#include <cstdio>
#include <X11/Xlib.h>
#include <X11/Xcursor/Xcursor.h>
extern "C" int main(void)
{
  XcursorImage *cursor = XcursorImageCreate (10, 10);
  XcursorImageDestroy(cursor);
  return 0;
}

using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc "-lXcursor"
found


***** Checking X libraries *****
compiling the following source file:

#include <cstdio>
#include <X11/Xlib.h>
extern "C" int main(void)
{
  Display *dpy;
  int scrn_num;
  Screen *scrn;
  Window win;

  dpy      = XOpenDisplay(NULL);
  scrn_num = DefaultScreen(dpy);
  scrn     = ScreenOfDisplay(dpy, scrn_num);
  win      = XCreateWindow(dpy, RootWindowOfScreen(scrn), 0, 0, 100, 100,
                           0, 16, InputOutput, CopyFromParent, 0, NULL);
  XDestroyWindow(dpy, win);
}

using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc "-L/usr/X11R6/lib -lXext -lX11"
found


***** Checking Qt *****
compiling the following source file:

#include <cstdio>
#include <qglobal.h>
extern "C" int main(void)
{
  printf("found version %s", QT_VERSION_STR);
#if QT_VERSION >= 0x030305
  printf(", OK.\n");
  return 0;
#elif QT_VERSION >= 0x030300
  printf("\n  ** WARNING: QT < 3.3.5 has known problems!\n");
#else
  printf(", expected version 3.3.0 or higher\n");
  return 1;
#endif
}

using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc -I/usr/qt/3/include -L/usr/qt/3/lib -lqt-mt
.tmp_src.cc:3:21: error: qglobal.h: No such file or directory
.tmp_src.cc: In function 'int main()':
.tmp_src.cc:6: error: 'QT_VERSION_STR' was not declared in this scope
compiling the following source file:

#include <cstdio>
#include <qglobal.h>
extern "C" int main(void)
{
  printf("found version %s", QT_VERSION_STR);
#if QT_VERSION >= 0x030305
  printf(", OK.\n");
  return 0;
#elif QT_VERSION >= 0x030300
  printf("\n  ** WARNING: QT < 3.3.5 has known problems!\n");
#else
  printf(", expected version 3.3.0 or higher\n");
  return 1;
#endif
}

using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc -I/usr/lib/qt3/include -L/usr/lib/qt3/lib -lqt-mt
executing the binary
found version 3.3.7, OK.



***** Checking Qt devtools *****
found version 3.3.7


***** Checking Linux kernel sources *****
compiling the following source file:

#include <linux/version.h>
int printf(const char *format, ...);
int main(void)
{
  printf("found version %d.%d.%d",  LINUX_VERSION_CODE / 65536,
                                   (LINUX_VERSION_CODE % 65536) / 256,
                                    LINUX_VERSION_CODE          % 256);
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,4,0)
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 2.4.0 or higher\n");
  return 1;
#endif
}

using the following command line:
gcc -O -Wall -o .tmp_out .tmp_src.c -nostdinc -I/usr/src/linux/include
.tmp_src.c:2:27: error: linux/version.h: No such file or directory
.tmp_src.c: In function 'main':
.tmp_src.c:6: error: 'LINUX_VERSION_CODE' undeclared (first use in this function)
.tmp_src.c:6: error: (Each undeclared identifier is reported only once
.tmp_src.c:6: error: for each function it appears in.)
.tmp_src.c:9:40: error: missing binary operator before token "("


and this my uname -r output
sansan@openSUSE:/mnt/dataku/dataku/Linuxapp/vbox> uname -r
2.6.20-default