[vbox-dev] Errors in configure.log

Desmond Chapman que_deseja at hotmail.com
Wed Oct 8 12:13:05 GMT 2008


I've read the file as Mehnert suggested.
Here are a list of errors.

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




This error repeats itself in whole or part about 19 times.


'# Log file generated by
#
#   './configure '
#

***** Checking environment *****
Determined build machine: freebsd.amd64, target machine: freebsd.amd64


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


***** Checking gcc *****
found version 4.2.1


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


***** 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 0.16.17


***** Checking iasl *****
found version 20070320


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


***** 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 libxml2 *****
compiling the following source file:
#include <cstdio>
#include <libxml/xmlversion.h>
extern 'C' int main(void)
{
  printf('found version %s', LIBXML_DOTTED_VERSION);
#if LIBXML_VERSION >= 20626
  printf(', OK.\n');
  return 0;
#else
  printf(', expected version 2.6.26 or higher\n');
  return 1;
#endif
}
using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc '-L/usr/local/lib -lxml2   -lpthread -I/usr/local/include/libxml2 -I/usr/local/include'
executing the binary
found version 2.6.32, OK.


***** Checking libxslt *****
compiling the following source file:
#include <cstdio>
#include <libxslt/xsltconfig.h>
extern 'C' int main(void)
{
  printf('found version %s', LIBXSLT_DOTTED_VERSION);
#if LIBXSLT_VERSION >= 10117
  printf(', OK.\n');
  return 0;
#else
  printf(', expected version 1.1.17 or higher\n');
  return 1;
#endif
}
using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc '-L/usr/local/lib -lxslt -lz -liconv -lm -lxml2   -lpthread -I/usr/local/include -I/usr/local/include/libxml2'
executing the binary
found version 1.1.24, OK.


***** Checking libIDL *****
found version 0.8.11


***** 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 libpng *****
compiling the following source file:
#include <cstdio>
#include <png.h>
extern 'C' int main(void)
{
  printf('found version %s', PNG_LIBPNG_VER_STRING);
#if PNG_LIBPNG_VER >= 10205
  printf(', OK.\n');
  return 0;
#else
  printf(', expected version 1.2.5 or higher\n');
  return 1;
#endif
}
using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc '-L/usr/local/lib -lpng -I/usr/local/include'
executing the binary
found version 1.2.32, OK.


***** Checking SDL *****
compiling the following source file:
#include <cstdio>
#include <SDL.h>
#include <SDL_main.h>
#undef main
extern 'C' int main(int argc, char** argv)
{
  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 '-L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lSDLmain -I/usr/local/include/SDL -I/usr/local/include '
executing the binary
found version 1.2.13, OK.


***** 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 -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11 -I/usr/local/include'
found


***** 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 '-L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11 -lXcursor -I/usr/local/include'
found


***** Checking Qt3 *****
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 -lpthread
.tmp_src.cc:2:21: error: qglobal.h: No such file or directory
.tmp_src.cc: In function 'int main()':
.tmp_src.cc:5: 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/qt/3/include -L/usr/qt/3/lib64 -lqt-mt -lpthread
.tmp_src.cc:2:21: error: qglobal.h: No such file or directory
.tmp_src.cc: In function 'int main()':
.tmp_src.cc:5: 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 -lpthread
.tmp_src.cc:2:21: error: qglobal.h: No such file or directory
.tmp_src.cc: In function 'int main()':
.tmp_src.cc:5: 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/lib64 -lqt-mt -lpthread
.tmp_src.cc:2:21: error: qglobal.h: No such file or directory
.tmp_src.cc: In function 'int main()':
.tmp_src.cc:5: 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/qt-3.3/include -L/usr/lib/qt-3.3/lib -lqt-mt -lpthread
.tmp_src.cc:2:21: error: qglobal.h: No such file or directory
.tmp_src.cc: In function 'int main()':
.tmp_src.cc:5: 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/qt-3.3/include -L/usr/lib/qt-3.3/lib64 -lqt-mt -lpthread
.tmp_src.cc:2:21: error: qglobal.h: No such file or directory
.tmp_src.cc: In function 'int main()':
.tmp_src.cc:5: 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/share/qt3/include -L/usr/share/qt3/lib -lqt-mt -lpthread
.tmp_src.cc:2:21: error: qglobal.h: No such file or directory
.tmp_src.cc: In function 'int main()':
.tmp_src.cc:5: 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/share/qt3/include -L/usr/share/qt3/lib64 -lqt-mt -lpthread
.tmp_src.cc:2:21: error: qglobal.h: No such file or directory
.tmp_src.cc: In function 'int main()':
.tmp_src.cc:5: 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/lib64/qt-3.3/include -L/usr/lib64/qt-3.3/lib -lqt-mt -lpthread
.tmp_src.cc:2:21: error: qglobal.h: No such file or directory
.tmp_src.cc: In function 'int main()':
.tmp_src.cc:5: 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/lib64/qt-3.3/include -L/usr/lib64/qt-3.3/lib64 -lqt-mt -lpthread
.tmp_src.cc:2:21: error: qglobal.h: No such file or directory
.tmp_src.cc: In function 'int main()':
.tmp_src.cc:5: 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/X11R6/include -L/usr/X11R6/lib -lqt-mt -lpthread
executing the binary
found version 3.3.8, OK.


***** Checking Qt3 devtools *****
found version 3.3.8


***** Checking Qt4 *****
compiling the following source file:
#include <cstdio>
#include <QtGlobal>
extern 'C' int main(void)
{
  printf('found version %s', QT_VERSION_STR);
#if QT_VERSION >= 0x040300
  printf(', OK.\n');
  return 0;
  printf(', expected version 4.3.0 or higher\n');
  return 1;
#endif
}
using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc '-pthread -L/usr/local/lib/qt4 -L/usr/local/lib -lQtCore -lz -lm -lgthread-2.0 -lglib-2.0 -liconv   -lpthread -I/usr/local/include/qt4 -I/usr/local/include/qt4/QtCore -DQT_SHARED -I/usr/local/include/qt4 -I/usr/local/include/qt4/QtCore  '
executing the binary (LD_LIBRARY_PATH=/usr/local/lib/qt4 /usr/local/lib)
found version 4.4.1, OK.


***** Checking Qt4 devtools *****
***** Checking python support *****
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern 'C' int main(void)
{
  Py_Initialize();
  printf('found version %s', PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(', OK.\n');
  return 0;
#else
  printf(', expected version 2.3 or higher\n');
  return 1;
#endif
}
using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc -I/usr/include/python2.5 /usr/lib64/libpython2.5.so
g++: /usr/lib64/libpython2.5.so: No such file or directory
.tmp_src.cc:2:20: error: Python.h: No such file or directory
.tmp_src.cc: In function 'int main()':
.tmp_src.cc:5: error: 'Py_Initialize' was not declared in this scope
.tmp_src.cc:6: error: 'PY_VERSION' was not declared in this scope
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern 'C' int main(void)
{
  Py_Initialize();
  printf('found version %s', PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(', OK.\n');
  return 0;
#else
  printf(', expected version 2.3 or higher\n');
  return 1;
#endif
}
using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc -I/usr/include/python2.5 /usr/lib/64/libpython2.5.so
g++: /usr/lib/64/libpython2.5.so: No such file or directory
.tmp_src.cc:2:20: error: Python.h: No such file or directory
.tmp_src.cc: In function 'int main()':
.tmp_src.cc:5: error: 'Py_Initialize' was not declared in this scope
.tmp_src.cc:6: error: 'PY_VERSION' was not declared in this scope
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern 'C' int main(void)
{
  Py_Initialize();
  printf('found version %s', PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(', OK.\n');
  return 0;
#else
  printf(', expected version 2.3 or higher\n');
  return 1;
#endif
}
using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc -I/usr/include/python2.5 /usr/lib/libpython2.5.so
g++: /usr/lib/libpython2.5.so: No such file or directory
.tmp_src.cc:2:20: error: Python.h: No such file or directory
.tmp_src.cc: In function 'int main()':
.tmp_src.cc:5: error: 'Py_Initialize' was not declared in this scope
.tmp_src.cc:6: error: 'PY_VERSION' was not declared in this scope
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern 'C' int main(void)
{
  Py_Initialize();
  printf('found version %s', PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(', OK.\n');
  return 0;
#else
  printf(', expected version 2.3 or higher\n');
  return 1;
#endif
}
using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc -I/usr/include/python2.4 /usr/lib64/libpython2.4.so
g++: /usr/lib64/libpython2.4.so: No such file or directory
.tmp_src.cc:2:20: error: Python.h: No such file or directory
.tmp_src.cc: In function 'int main()':
.tmp_src.cc:5: error: 'Py_Initialize' was not declared in this scope
.tmp_src.cc:6: error: 'PY_VERSION' was not declared in this scope
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern 'C' int main(void)
{
  Py_Initialize();
  printf('found version %s', PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(', OK.\n');
  return 0;
#else
  printf(', expected version 2.3 or higher\n');
  return 1;
#endif
}
using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc -I/usr/include/python2.4 /usr/lib/64/libpython2.4.so
g++: /usr/lib/64/libpython2.4.so: No such file or directory
.tmp_src.cc:2:20: error: Python.h: No such file or directory
.tmp_src.cc: In function 'int main()':
.tmp_src.cc:5: error: 'Py_Initialize' was not declared in this scope
.tmp_src.cc:6: error: 'PY_VERSION' was not declared in this scope
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern 'C' int main(void)
{
  Py_Initialize();
  printf('found version %s', PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(', OK.\n');
  return 0;
#else
  printf(', expected version 2.3 or higher\n');
  return 1;
#endif
}
using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc -I/usr/include/python2.4 /usr/lib/libpython2.4.so
g++: /usr/lib/libpython2.4.so: No such file or directory
.tmp_src.cc:2:20: error: Python.h: No such file or directory
.tmp_src.cc: In function 'int main()':
.tmp_src.cc:5: error: 'Py_Initialize' was not declared in this scope
.tmp_src.cc:6: error: 'PY_VERSION' was not declared in this scope
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern 'C' int main(void)
{
  Py_Initialize();
  printf('found version %s', PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(', OK.\n');
  return 0;
#else
  printf(', expected version 2.3 or higher\n');
  return 1;
#endif
}
using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc -I/usr/include/python2.3 /usr/lib64/libpython2.3.so
g++: /usr/lib64/libpython2.3.so: No such file or directory
.tmp_src.cc:2:20: error: Python.h: No such file or directory
.tmp_src.cc: In function 'int main()':
.tmp_src.cc:5: error: 'Py_Initialize' was not declared in this scope
.tmp_src.cc:6: error: 'PY_VERSION' was not declared in this scope
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern 'C' int main(void)
{
  Py_Initialize();
  printf('found version %s', PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(', OK.\n');
  return 0;
#else
  printf(', expected version 2.3 or higher\n');
  return 1;
#endif
}
using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc -I/usr/include/python2.3 /usr/lib/64/libpython2.3.so
g++: /usr/lib/64/libpython2.3.so: No such file or directory
.tmp_src.cc:2:20: error: Python.h: No such file or directory
.tmp_src.cc: In function 'int main()':
.tmp_src.cc:5: error: 'Py_Initialize' was not declared in this scope
.tmp_src.cc:6: error: 'PY_VERSION' was not declared in this scope
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern 'C' int main(void)
{
  Py_Initialize();
  printf('found version %s', PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(', OK.\n');
  return 0;
#else
  printf(', expected version 2.3 or higher\n');
  return 1;
#endif
}
using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc -I/usr/include/python2.3 /usr/lib/libpython2.3.so
g++: /usr/lib/libpython2.3.so: No such file or directory
.tmp_src.cc:2:20: error: Python.h: No such file or directory
.tmp_src.cc: In function 'int main()':
.tmp_src.cc:5: error: 'Py_Initialize' was not declared in this scope
.tmp_src.cc:6: error: 'PY_VERSION' was not declared in this scope
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern 'C' int main(void)
{
  Py_Initialize();
  printf('found version %s', PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(', OK.\n');
  return 0;
#else
  printf(', expected version 2.3 or higher\n');
  return 1;
#endif
}
using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc -I/usr/local/include/python2.5 /usr/local/lib64/libpython2.5.so
g++: /usr/local/lib64/libpython2.5.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern 'C' int main(void)
{
  Py_Initialize();
  printf('found version %s', PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(', OK.\n');
  return 0;
#else
  printf(', expected version 2.3 or higher\n');
  return 1;
#endif
}
using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc -I/usr/local/include/python2.5 /usr/local/lib/64/libpython2.5.so
g++: /usr/local/lib/64/libpython2.5.so: No such file or directory
compiling the following source file:
#include <cstdio>
#include <Python.h>
extern 'C' int main(void)
{
  Py_Initialize();
  printf('found version %s', PY_VERSION);
#if PY_VERSION_HEX >= 0x02030000
  printf(', OK.\n');
  return 0;
#else
  printf(', expected version 2.3 or higher\n');
  return 1;
#endif
}
using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc -I/usr/local/include/python2.5 /usr/local/lib/libpython2.5.so
executing the binary
found version 2.5.2, OK.

'

_________________________________________________________________
Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20081008/78c60a8c/attachment.html>


More information about the vbox-dev mailing list