[Qt-jambi-interest] QT Jambi 4.5
Tom Schindl
listom at bestsolution.at
Wed May 20 10:00:33 CEST 2009
Hi,
Someone an idea how to proceed?
Tom
Tom Schindl schrieb:
> Hi,
>
> Just an update the problem is that the "-prefix $PWD" makes building QT
> fail. Not sure how to proceed because it looks like QT needs to be
> installed in the same location it is build :-(
>
> Working:
> -----------8<-----------
> cd /Users/tomschindl/qt-mac-opensource-src-4.5.1
> ./configure -D QT_JAMBI_BUILD -no-framework -sdk
> /Developer/SDKs/MacOSX10.4u.sdk -no-qt3support -no-mmx -no-sse -no-sse2
> -no-3dnow
> make
> sudo make install
> -----------8<-----------
>
>
> Not working:
> -----------8<-----------
> cd /Users/tomschindl/qt-mac-opensource-src-4.5.1
> ./configure -D QT_JAMBI_BUILD -no-framework -sdk
> /Developer/SDKs/MacOSX10.4u.sdk -no-qt3support -prefix $PWD -no-mmx
> -no-sse -no-sse2 -no-3dnow
> make
> sudo make install
> -----------8<-----------
>
> Maybe I should not do the "sudo make install" step because I'm 99% sure
> that installing causes the problem (I think make finishes) to me because
> something is cleaned up in $PWD which should not.
>
> Tom
>
> Tom Schindl schrieb:
>> Hi,
>>
>> Just a correction it fails when building not installing - wondering how
>> I managed to build it the last time.
>>
>> Tom
>>
>> Tom Schindl schrieb:
>>> Hi Eskil,
>>>
>>> Sorry that I didn't came back to you earlier. The problem with using
>>> -prefix $PWD is that then *installing* QT itself fails with this error :-(
>>>
>>>> g++ -headerpad_max_install_names -Xarch_i386 -mmacosx-version-min=10.4 -arch i386 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -single_module -dynamiclib -compatibility_version 4.5 -current_version 4.5.1 -install_name /Users/tomschindl/qt-mac-opensource-src-4.5.1/lib/libQtNetwork_debug.4.dylib -o libQtNetwork_debug.4.5.1.dylib .obj/debug-shared/qftp.o .obj/debug-shared/qhttp.o .obj/debug-shared/qhttpnetworkconnection.o .obj/debug-shared/qnetworkaccessmanager.o .obj/debug-shared/qnetworkaccesscache.o .obj/debug-shared/qnetworkaccessbackend.o .obj/debug-shared/qnetworkaccessdatabackend.o .obj/debug-shared/qnetworkaccessdebugpipebackend.o .obj/debug-shared/qnetworkaccessfilebackend.o .obj/debug-shared/qnetworkaccesscachebackend.o .obj/debug-shared/qnetworkaccessftpbackend.o .obj/debug-shared/qnetworkaccesshttpbackend.o .obj/debug-shared/qnetworkcookie.o .obj/debug-shared/qnetworkrequest.o .obj/debug-shared/qnetworkreply.o .obj/debug-shared/qnetworkreplyimpl.o .obj/debug-
s
> h
>> a
>>> red/qabstractnetworkcache.o .obj/debug-shared/qnetworkdiskcache.o .obj/debug-shared/qauthenticator.o .obj/debug-shared/qhostaddress.o .obj/debug-shared/qhostinfo.o .obj/debug-shared/qurlinfo.o .obj/debug-shared/qnetworkproxy.o .obj/debug-shared/qnetworkinterface.o .obj/debug-shared/qhostinfo_unix.o .obj/debug-shared/qnetworkinterface_unix.o .obj/debug-shared/qnetworkproxy_mac.o .obj/debug-shared/qabstractsocketengine.o .obj/debug-shared/qnativesocketengine.o .obj/debug-shared/qhttpsocketengine.o .obj/debug-shared/qsocks5socketengine.o .obj/debug-shared/qabstractsocket.o .obj/debug-shared/qtcpsocket.o .obj/debug-shared/qudpsocket.o .obj/debug-shared/qtcpserver.o .obj/debug-shared/qlocalsocket.o .obj/debug-shared/qlocalserver.o .obj/debug-shared/qnativesocketengine_unix.o .obj/debug-shared/qlocalsocket_unix.o .obj/debug-shared/qlocalserver_unix.o .obj/debug-shared/qssl.o .obj/debug-shared/qsslcertificate.o .obj/debug-shared/qsslconfiguration.o .obj/debug-shared/qsslcipher.o
> .
>> ob
>>> j/debug-shared/qsslerror.o .obj/debug-shared/qsslkey.o .obj/debug-shared/qsslsocket.o .obj/debug-shared/qsslsocket_openssl.o .obj/debug-shared/qsslsocket_openssl_symbols.o .obj/debug-shared/moc_qnetworkaccesscache_p.o .obj/debug-shared/moc_qnetworkaccessbackend_p.o .obj/debug-shared/moc_qnetworkaccessdebugpipebackend_p.o .obj/debug-shared/moc_qnetworkaccesshttpbackend_p.o .obj/debug-shared/moc_qnetworkaccessftpbackend_p.o .obj/debug-shared/moc_qnetworkcookie.o .obj/debug-shared/moc_qnetworkreply.o .obj/debug-shared/moc_qabstractnetworkcache.o .obj/debug-shared/moc_qnetworkdiskcache.o .obj/debug-shared/moc_qhostinfo_p.o .obj/debug-shared/moc_qabstractsocketengine_p.o .obj/debug-shared/moc_qnativesocketengine_p.o .obj/debug-shared/moc_qhttpsocketengine_p.o .obj/debug-shared/moc_qsocks5socketengine_p.o .obj/debug-shared/moc_qtcpsocket.o .obj/debug-shared/moc_qudpsocket.o .obj/debug-shared/moc_qlocalserver_p.o .obj/debug-shared/qrc_network.o -L/Users/tomschindl/qt-mac-opens
o
> u
>> rc
>>> e-src-4.5.1/lib -lz -framework SystemConfiguration -lQtCore_debug
>>>> Undefined symbols:
>>>> "_CFNumberGetValue", referenced from:
>>>> isHostExcluded(__CFDictionary const*, QString const&)in qnetworkproxy_mac.o
>>>> proxyFromDictionary(__CFDictionary const*, QNetworkProxy::ProxyType, __CFString const*, __CFString const*, __CFString const*)in qnetworkproxy_mac.o
>>>> proxyFromDictionary(__CFDictionary const*, QNetworkProxy::ProxyType, __CFString const*, __CFString const*, __CFString const*)in qnetworkproxy_mac.o
>>>> macQueryInternal(QNetworkProxyQuery const&) in qnetworkproxy_mac.o
>>>> "_CFArrayGetValueAtIndex", referenced from:
>>>> isHostExcluded(__CFDictionary const*, QString const&)in qnetworkproxy_mac.o
>>>> "_CFDictionaryGetValue", referenced from:
>>>> isHostExcluded(__CFDictionary const*, QString const&)in qnetworkproxy_mac.o
>>>> isHostExcluded(__CFDictionary const*, QString const&)in qnetworkproxy_mac.o
>>>> proxyFromDictionary(__CFDictionary const*, QNetworkProxy::ProxyType, __CFString const*, __CFString const*, __CFString const*)in qnetworkproxy_mac.o
>>>> proxyFromDictionary(__CFDictionary const*, QNetworkProxy::ProxyType, __CFString const*, __CFString const*, __CFString const*)in qnetworkproxy_mac.o
>>>> proxyFromDictionary(__CFDictionary const*, QNetworkProxy::ProxyType, __CFString const*, __CFString const*, __CFString const*)in qnetworkproxy_mac.o
>>>> macQueryInternal(QNetworkProxyQuery const&) in qnetworkproxy_mac.o
>>>> macQueryInternal(QNetworkProxyQuery const&) in qnetworkproxy_mac.o
>>>> "_CFArrayGetCount", referenced from:
>>>> isHostExcluded(__CFDictionary const*, QString const&)in qnetworkproxy_mac.o
>>>> ld: symbol(s) not found
>>>> collect2: ld returned 1 exit status
>>>> make[2]: *** [../../lib/libQtNetwork_debug.4.5.1.dylib] Error 1
>>>> make[1]: *** [debug-install] Error 2
>>>> make: *** [sub-network-install_subtargets-ordered] Error 2
>>> What I did was to configure QT the way you told me to:
>>>
>>> ./configure -D QT_JAMBI_BUILD -no-framework -sdk
>>> /Developer/SDKs/MacOSX10.4u.sdk -no-qt3support -prefix $PWD -no-mmx
>>> -no-sse -no-sse2 -no-3dnow
>>> make
>>> sudo make install
>>>
>>>
>>> Tom
>>>
>>>
>>> Eskil Abrahamsen Blomfeldt schrieb:
>>>> Tom Schindl wrote:
>>>>> ./configure -D QT_JAMBI_BUILD -no-framework -sdk
>>>>> /Developer/SDKs/MacOSX10.4u.sdk -no-qt3support
>>>>>
>>>>> I guess its the one i extracted from reading [1]
>>>>>
>>>>> Why should I have used "-prefix $PWD" this would have installed QT in a
>>>>> different directory or am I wrong?
>>>>>
>>>> There are a few requirements that are different for the repository than
>>>> for the source package, it seems, because the source package contains a
>>>> few more files than the repository.
>>>>
>>>> Qt Jambi should build as long as the source directory and install
>>>> directory of Qt is the same, which is what the "-prefix $PWD" is for (it
>>>> requires some private headers which are not installed by "make install".)
>>>>
>>>> Could you try configuring Qt with this extra option to see if it solves
>>>> the problem?
>>>>
>>>> -- Eskil
>>> _______________________________________________
>>> Qt-jambi-interest mailing list
>>> Qt-jambi-interest at trolltech.com
>>> http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
>> _______________________________________________
>> Qt-jambi-interest mailing list
>> Qt-jambi-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
>
> _______________________________________________
> Qt-jambi-interest mailing list
> Qt-jambi-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
More information about the Qt-jambi-interest
mailing list