See end... 

> -----Original Message-----
> From: Trenton Schulz [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, October 23, 2008 4:29 AM
> To: Carlos Smith
> Cc: [email protected]
> Subject: Re: [Qt4-preview-feedback] [Ann] Qt 4.5 Technical 
> Preview Released
> 
> 
> On Oct 22, 2008, at 17:48 , Carlos Smith wrote:
> 
> > Hi Trenton,
> >
> > Thanks for the response.  I will just put my answers up here.
> >
> > If I just run ./configure with no options, the OpenSSL support says 
> > "yes (run-time)".
> >
> > I don't know about different versions of OpenSSL.  However, 
> I do have 
> > multiple Qt 4.5 for Cocoa snapshots in other directories, 
> but I don't 
> > see how that should matter.
> >
> > Here is the link line with the error for a straight, default ./ 
> > configure and make:
> >
> > g++ -headerpad_max_install_names -single_module -dynamiclib
> > -compatibility_version      4.5 -current_version    4.5.0 
> -install_name

snip

> > -L/usr/local/trolltech/qt-mac-commercial-src-4.5.0-tp1/lib -lz -lm 
> > -framework ApplicationServices Undefined symbols:
> >  "qInitResources_network()", referenced from:
> >      initNetworkResources()     in qsslsocket_openssl.o
> > ld: symbol(s) not found
> > collect2: ld returned 1 exit status
> > make[1]: *** [../../lib/QtNetwork.framework/QtNetwork] Error 1
> > make: *** [sub-network-make_default-ordered] Error 2
> 
> Hmm... this indicates that the resource "network.qrc" wasn't built.  
> And your other error indicates that qfiledialog.ui isn't 
> built. When you build Qt we make uic, rcc, and moc first, 
> before building any Qt sources. Have these been built 
> beforehand? Are you running make in individual directories or 
> running make  from the top-level directory?
> 
> The only other thing that I think could be the problem is 
> that there is an issue with your environment. Could you 
> perhaps log in as the guest account. The guest account 
> creates a clean environment and deletes everything when the 
> guest is logged out. It's easy to see if it's an environment 
> issue then.
> 
> -- Trenton

Thanks Trenton.  

I checked the bin directory, the various compilers and 
tools are there with correct build dates.  To make sure they are the 
ones used I explicitly set the PATH to have their directory at the head.

I am running make from the top level directory.  If I change to the 
subdirectory it doesn't make any difference, I still get the same error.

I tried you suggestion for building as Guest.  I did have to su to an 
account with sufficient privileges but I checked the environment and 
everything else seemed to be default.  However, it did not solve the 
build problem.

I also did a make clean, captured all the build output and searched for
"network.qrc" and I saw no command line to build it in the output.
Likewise
qfiledialog.ui

However, I think I may have found the actual problem: when I run
./configure, I
get a large number of what I thought were warnings.  These are of the
form (for example):

for
/usr/local/trolltech/qt-mac-commercial-src-4.5.0-tp1/tools/xmlpatterns/x
mlpatterns.pro
shared.prf:7: Unknown test function: fixExclusiveOutputDirs
debug.prf:8: Unknown test function: fixExclusiveOutputDirs

Earlier I also get similar errors such as

debug_and_release.prf:1: Unknown test function: addExclusiveBuilds

I though they were only warnings and irrelevant because at the end
./configure
reports success and says I can go ahead and build.

I looked on earlier qt-interest threads and found discussion of this
type of 
error but the solution was never revealed.

I appreciate your looking at this.

Thanks,
Carlos



_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to