Problem compiling py-pyqt3 on Leopard (perhaps no compatible)

mac at the-evangelist.info mac at the-evangelist.info
Sat Jan 19 14:13:26 PST 2008


Hi,

 I am compiling  py-pyqt3 and i get this error:

$ sudo port install py-pyqt3
Password:
--->  Configuring qt3-mac
Error: Target org.macports.configure returned: configure failure: shell
command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt3-mac/work/qt-
mac-free-3.3.8" && echo yes | ./configure --prefix=/opt/local -v -prefix
'/opt/local' -docdir '/opt/local/share/doc/qt3-mac/html' -datadir
'/opt/local/share/qt3' -headerdir '/opt/local/include/qt3' -plugindir
'/opt/local/lib/qt3-plugins' -release -shared -fast -thread -stl -qt-gif
-qt-imgfmt-png -qt-imgfmt-jpeg -qt-imgfmt-mng -no-sql-ibase -no-sql-mysql
-no-sql-odbc -no-sql-psql -no-sql-sqlite -no-nis -no-cups -no-ipv6
-largefile -system-zlib -system-libpng -system-libjpeg -system-libmng
'-I/opt/local/include' '-L/opt/local/lib' " returned error 2
Command output: PostgreSQL auto-detection...
  Could not find libpq.* anywhere in /lib /usr/lib /opt/local/lib
PostgreSQL disabled.
Testing Mac version...
mac_version.cpp:5: error: missing terminating " character
mac_version.cpp:6: error: missing terminating " character
mac_version.cpp: In function 'int main()':
mac_version.cpp:7: error: expected primary-expression before 'return'
Mac version cannot be detected!

This is the Qt/Mac Open Source Edition.

You are licensed to use this software under the terms of
the GNU General Public License (GPL).

Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of the license?
Creating qmake. Please wait...
c++ -c -o project.o -pipe  -DQT_MACOSX_VERSION= -I. -Igenerators
-Igenerators/unix -Igenerators/win32 -Igenerators/mac
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt3-mac/work/qt-
mac-free-3.3.8/include/qmake
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt3-mac/work/qt-
mac-free-3.3.8/include
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt3-mac/work/qt-
mac-free-3.3.8/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES
-DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt3-mac/work/qt-
mac-free-3.3.8/mkspecs/macx-g++ -DHAVE_QCONFIG_CPP project.cpp
In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt3-mac/work/qt-
mac-free-3.3.8/include/qtl.h:42,
                 from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt3-mac/work/qt-
mac-free-3.3.8/include/qvaluelist.h:42,
                 from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt3-mac/work/qt-
mac-free-3.3.8/include/qstringlist.h:42,
                 from project.h:39,
                 from project.cpp:36:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt3-mac/work/qt-
mac-free-3.3.8/include/qglobal.h:187:6: error: #error "This version of Mac
OS X is unsupported"
make: *** [project.o] Error 1
qmake failed to build. Aborting.

Error: The following dependencies failed to build: qt3-mac
Error: Status 1 encountered during processing.


 I need this port to compile other program (GNS3).

 Any help,


 Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080119/9035d7b5/attachment.html


More information about the macports-users mailing list