pkgsrc-WIP-review archive

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

wip/qcad build fails on MacOS X 10.3.9



On Sun, 12 Jun 2005, Thomas Klausner wrote:

> Not really to the point of your question, but:  wip/qcad contains
> a much newer version of qcad, and review comments about it would
> be welcome (to the pkgsrc-wip-review mailing list).

Building wip/qcad (qcad-2.0.4.0-1) on MacOS X 10.3.9 fails as follows:

[...]
/usr/pkg/bin/libtool --mode=compile g++ -c -O2 -DQ_TRAILING_DIR_SEP  
-DQC_APPKEY="\"/QCad\"" -DQC_APPDIR="\"qcad\"" -DQC_APPNAME="\"QCad\"" 
-DQT_NO_DEBUG -I/usr/pkg/qt3/mkspecs/default -I. -I../../fparser/include 
-I../../dxflib/include -I../../qcadlib/include -I../../qcadcmd/include 
-I../../qcadactions/include -I../../qcadguiqt/include 
-I../../../../../../../../pkg/include -I/usr/pkg/qt3/include -Imoc/ -o 
obj/main.o main.cpp
 g++ -c -O2 -DQ_TRAILING_DIR_SEP -DQC_APPKEY=\"/QCad\" -DQC_APPDIR=\"qcad\" 
-DQC_APPNAME=\"QCad\" -DQT_NO_DEBUG -I/usr/pkg/qt3/mkspecs/default -I. 
-I../../fparser/include -I../../dxflib/include -I../../qcadlib/include 
-I../../qcadcmd/include -I../../qcadactions/include -I../../qcadguiqt/include 
-I../../../../../../../../pkg/include -I/usr/pkg/qt3/include -Imoc/ main.cpp  
-fno-common -DPIC -o obj/.libs/main.o
main.cpp:34:27: qmacstyle_mac.h: No such file or directory
main.cpp: In function `int main(int, char**)':
main.cpp:226: error: parse error before `(' token
gnumake[1]: *** [obj/main.o] Error 1
gnumake: *** [qcad] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/wip/qcad
[...]

I suspect the missing 'qmacstyle_mac.h' is due to the dectection of
MacOS X, and an expectation to build the MacOS/Aqua/Cocoa version of
the program.

For use in pkgsrc, there needs to be a patch that causes MacOS X to be
equivalent to Darwin and thus build the regular X11 version.

This MacOS X -> Darwin equivalence is what allowed x11/qt3-libs and
x11/qt3-tools to build on MacOS X and may be instructional towards
further work on qcad-2.0.4.0-1.

Thanks.

-- 
John D. Baker, KN5UKS                    NetBSD     Darwin/MacOS X
jdbaker(at)mylinuxisp(dot)com                 OpenBSD            FreeBSD
BSD -- It just sits there and _works_!


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
pkgsrc-wip-review mailing list
pkgsrc-wip-review%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-review



Home | Main Index | Thread Index | Old Index