pkgsrc-Bugs archive

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

pkg/29231: x11/qt3-libs compile fails on MacOS X



>Number:         29231
>Category:       pkg
>Synopsis:       x11/qt3-libs compile fails on MacOS X
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 04 21:36:01 +0000 2005
>Originator:     John D. Baker
>Release:        MacOS X 10.2.8
>Organization:
>Environment:
Darwin pm8500.technoskunk.fur 6.8 Darwin Kernel Version 6.8: Wed Sep 10 
15:20:55 PDT 2003; root:xnu/xnu-344.49.obj~2/RELEASE_PPC  Power Macintosh 
powerpc

>Description:
Building x11/qt3-libs fails as follows:

g++ -c -o qglobal.o -O2 -I/usr/pkg/include -DGLX_GLXEXT_LEGACY 
-I/usr/pkg/include/freetype2 -I/usr/include -I. -Igenerators -Igenerators/unix 
-Igenerators/win32 -Igenerators/mac 
-I/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/include/qmake 
-I/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/include 
-I/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/include 
-DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL 
-DQT_NO_COMPRESS 
-I/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/mkspecs/darwin-g++
 -DHAVE_QCONFIG_CPP 
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:166:20:
 qt_mac.h: No such file or directory
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:170:
 error: parse
   error before `&' token
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:173:
 error: `
   file' was not declared in this scope
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:174:
 error: parse
   error before `=' token
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:180:
 error: parse
   error before `&' token
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:185:
 error: `
   CFStringRef' was not declared in this scope
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:185:
 error: parse
   error before `)' token
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:
 In
   function `QString cfstring2qstring(...)':
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:187:
 error: `
   str' undeclared (first use this function)
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:187:
 error: (Each
   undeclared identifier is reported only once for each function it appears 
   in.)
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:190:
 error: `
   CFIndex' undeclared (first use this function)
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:190:
 error: parse
   error before `=' token
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:191:
 error: parse
   error before `*' token
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:193:
 error: `
   UniChar' undeclared (first use this function)
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:193:
 error: `
   buffer' undeclared (first use this function)
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:193:
 error: parse
   error before `)' token
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:194:
 error: `
   length' undeclared (first use this function)
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:194:
 error: `
   CFRangeMake' undeclared (first use this function)
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:194:
 error: `
   CFStringGetCharacters' undeclared (first use this function)
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:
 In
   function `unsigned char* p_str(const QString&)':
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:202:
 error: `
   CFStringRef' undeclared (first use this function)
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:202:
 error: parse
   error before `=' token
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:204:
 error: `
   cfstr' undeclared (first use this function)
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:204:
 error: `
   CFStringGetSystemEncoding' undeclared (first use this function)
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:204:
 error: `
   CFStringGetPascalString' undeclared (first use this function)
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:205:
 error: `
   CFRelease' undeclared (first use this function)
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:
 In
   function `QString p2qstring(const unsigned char*)':
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:210:
 error: parse
   error before `=' token
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:
 In
   function `int qMacVersion()':
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:218:
 error: `
   Qt' undeclared (first use this function)
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:218:
 error: parse
   error before `::' token
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:223:
 error: `
   gestaltSystemVersion' undeclared (first use this function)
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:223:
 error: `
   Gestalt' undeclared (first use this function)
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:223:
 error: `
   noErr' undeclared (first use this function)
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:225:
 error: parse
   error before `::' token
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:
 At
   global scope:
/Volumes/NetBSD/tmp/pkgsrc/x11/qt3-libs/work/qt-x11-free-3.3.3/src/tools/qglobal.cpp:237:
 error: syntax
   error before `::' token
make: *** [qglobal.o] Error 1
qmake failed to build. Aborting.
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/x11/qt3-libs

>How-To-Repeat:
bootstrap pkgsrc on MacOS X
cd .../pkgsrc/x11/qt3-libs
bmake
>Fix:
I am unable to find the file "qt_mac.h" in the distribution.
>From where is it supposed to come?




Home | Main Index | Thread Index | Old Index