Обсуждение: Build problems with 1.2.2
Hi, I downloaded 1.2.2 source package (gzipped, could bzip2 perhaps be added to options?). At least with me (OS X 10.4.1, gcc 4.0, wx from darwinports) the configure process does not seem to be able to add the correct wx library specs to Makefiles (the svn checkout'd is) (the configuration is with --enable-appbundle --enable-static --with- wx=/usr/local): LIBS = /usr/local/pgsql/lib/libpq.a -lssl -lcrypto instead of: LIBS = -lssl -lcrypto -lpq -L/usr/local/lib -L/usr/local/lib -L/usr/ local/lib\ -framework QuickTime -framework IOKit -framework Carbon -framework Cocoa -fram\ ework System -lwx_macu-2.6 -L/usr/local/lib -L/usr/local/lib -L/ usr/local/li\ b -framework QuickTime -framework IOKit -framework Carbon -framework Cocoa -fra\ mework System -lwx_macu_stc-2.6 -lwx_macu_ogl-2.6 -lwx_macu-2.6 Actually, there seems to be a build type mismatch, because if I drop --enable-static in 1.2.2, I get at least identical LIBS spec to 1.3.0. 1.3.0 configure seems to use wx-config just with --libs stc,ogl (WX_NEW_CONTRIB_LIBS=`${WX_CONFIG} --libs stc,ogl`), which produces the correct result. 1.2.2 configure adds --static to that (WX_NEW_CONTRIB_LIBS=`${WX_CONFIG} ${WX_STATIC} --libs stc,ogl`) causing problems (wx-config is confused by --static, at least in my configuration). The other problem is that when one tries to install, the file 'complete-bundle.sh' seems to be missing (applies to debug-bundle.sh, too)!? With those changes (dropping static from wx-config and copying complete-bundle.sh from 1.3.0) it seems to build ok. ! ! Jyrki Wahlstedt ! Itsenäisyydenkatu 43 as 1 mob. +358-40-502 0164 ! FI-28100 Pori ! ! Our life is no dream; but it ought to become one and perhaps will. ! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0 A780 6366 EFD9 139C C386
Hi, Jyrki Wahlstedt wrote: > Hi, > I downloaded 1.2.2 source package (gzipped, could bzip2 perhaps be > added to options?). At least with me (OS X 10.4.1, gcc 4.0, wx from > darwinports) the configure process does not seem to be able to add > the correct wx library specs to Makefiles (the svn checkout'd is) > (the configuration is with --enable-appbundle --enable-static --with- > wx=/usr/local): > LIBS = /usr/local/pgsql/lib/libpq.a -lssl -lcrypto > instead of: > LIBS = -lssl -lcrypto -lpq -L/usr/local/lib -L/usr/local/lib -L/usr/ > local/lib\ > -framework QuickTime -framework IOKit -framework Carbon -framework > Cocoa -fram\ > ework System -lwx_macu-2.6 -L/usr/local/lib -L/usr/local/lib -L/ > usr/local/li\ > b -framework QuickTime -framework IOKit -framework Carbon -framework > Cocoa -fra\ > mework System -lwx_macu_stc-2.6 -lwx_macu_ogl-2.6 -lwx_macu-2.6 > > Actually, there seems to be a build type mismatch, because if I drop > --enable-static in 1.2.2, I get at least identical LIBS spec to > 1.3.0. 1.3.0 configure seems to use wx-config just with --libs > stc,ogl (WX_NEW_CONTRIB_LIBS=`${WX_CONFIG} --libs stc,ogl`), which > produces the correct result. 1.2.2 configure adds --static to that > (WX_NEW_CONTRIB_LIBS=`${WX_CONFIG} ${WX_STATIC} --libs stc,ogl`) > causing problems (wx-config is confused by --static, at least in my > configuration). What kind of problem? Can you precise the error message or describe the behaviour please? In the meantime, can you describe how you built wxWid? I mean static enabled or not? Regards, Raphaël > > The other problem is that when one tries to install, the file > 'complete-bundle.sh' seems to be missing (applies to debug-bundle.sh, > too)!? > > With those changes (dropping static from wx-config and copying > complete-bundle.sh from 1.3.0) it seems to build ok. > > !
On 2.6.2005, at 0:04, Raphaël Enrici wrote: > Hi, > > Jyrki Wahlstedt wrote: > >> Hi, >> I downloaded 1.2.2 source package (gzipped, could bzip2 perhaps be >> added to options?). At least with me (OS X 10.4.1, gcc 4.0, wx from >> darwinports) the configure process does not seem to be able to add >> the correct wx library specs to Makefiles (the svn checkout'd is) >> (the configuration is with --enable-appbundle --enable-static --with- >> wx=/usr/local): >> LIBS = /usr/local/pgsql/lib/libpq.a -lssl -lcrypto >> instead of: >> LIBS = -lssl -lcrypto -lpq -L/usr/local/lib -L/usr/local/lib -L/ >> usr/ >> local/lib\ >> -framework QuickTime -framework IOKit -framework Carbon -framework >> Cocoa -fram\ >> ework System -lwx_macu-2.6 -L/usr/local/lib -L/usr/local/lib -L/ >> usr/local/li\ >> b -framework QuickTime -framework IOKit -framework Carbon -framework >> Cocoa -fra\ >> mework System -lwx_macu_stc-2.6 -lwx_macu_ogl-2.6 -lwx_macu-2.6 >> >> Actually, there seems to be a build type mismatch, because if I drop >> --enable-static in 1.2.2, I get at least identical LIBS spec to >> 1.3.0. 1.3.0 configure seems to use wx-config just with --libs >> stc,ogl (WX_NEW_CONTRIB_LIBS=`${WX_CONFIG} --libs stc,ogl`), which >> produces the correct result. 1.2.2 configure adds --static to that >> (WX_NEW_CONTRIB_LIBS=`${WX_CONFIG} ${WX_STATIC} --libs stc,ogl`) >> causing problems (wx-config is confused by --static, at least in my >> configuration). >> > > What kind of problem? > Can you precise the error message or describe the behaviour please? > In the meantime, can you describe how you built wxWid? I mean static > enabled or not? > > Well, because the configure process cannot produce any information about wx* into Makefiles, the result is a bunch of undefined symbols in the link phase. As I said, I built wxWidgets from DarwinPorts. I looked at the Portfile and the configuration line looks: configure.args --mandir=${prefix}/share/man \ --with-libiconv-prefix=${prefix} \ --with-libjpeg \ --with-libtiff \ --with-libpng \ --with-zlib \ --with-sdl \ --with-opengl \ --with-mac \ --disable-sdltest \ --enable-unicode \ --enable-display \ --enable-monolithic This is something that exists already and I can hardly do anything about it. With the changes I described I can build a working app, so I am happy. Basically I am trying to build a Portfile for pgAdmin, so I would have to find a way to build pgAdmin so that it behaves well with the dependencies in DP environment, which seems quite feasible at the moment. ! ! Jyrki Wahlstedt ! Itsenäisyydenkatu 43 as 1 mob. +358-40-502 0164 ! FI-28100 Pori ! ! Our life is no dream; but it ought to become one and perhaps will. ! PGP key ID: 0x139CC386 fingerprint: F355 B46F 026C B8C1 89C0 A780 6366 EFD9 139C C386