Subject: py-qt3-sip and Darwin and Solaris and py-qt3-base on Darwin
To: None <tech-pkg@NetBSD.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 06/06/2005 16:26:33
In December, I needed -mimpure-text for Solaris. This is my PR #28671. It
is a Solaris only option, but I don't know if it is gcc specific.

Under Darwin, py-qt3-sip uses -shared which is wrong.

The README.Fink suggests:
  LFLAGS_PLUGIN="-bundle -flat_namespace -undefined suppress"
and that works for me to build and install.

Next my errors with py-qt3-base on Darwin are:

...
BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 444
INSTALL_INFO=/opt/pkgsrc/x11/py-qt3-base/work.belgium/.tools/bin/install-info
MAKEINFO=/opt/pkgsrc/x11/py-qt3-base/work.belgium/.tools/bin/makeinfo
WRAPPER_DEBUG="yes" WRAPPER_UPDATE_CACHE="yes" VIEWBASE=/usr/pkg
/usr/pkg/bin/python2.4 configure.py -b /usr/pkg/bin -d
/usr/pkg/lib/python2.4/site-packages -v /usr/pkg/share/sip2.4)
Error: Unable to build mkfeatures utility.
This is the GPL version of PyQt 3.14.1 (licensed under the GNU General Public
License) for Python 2.4.1 on darwin.

Type 'L' to view the license.
Type 'yes' to accept the terms of the license.
Type 'no' to decline the terms of the license.

SIP 4.2.1 is being used.
Checking to see if the QAssistantClient class is available...
Creating features file...
*** Error code 1

Stop.


Any thoughts or comments on any of the above?

I will commit the -mimpure-text fix just for Solaris to close that PR if
nobody objects. (Noone replied about this since my postings in December as
far as I recall.)

 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links
	  	 	 http://www.bsdnewsletter.com/