This is a discussion on Re: problem compiling on suse 10 within the pgsql Interfaces Pgadmin Support forums, part of the PostgreSQL category; --> > -----Original Message----- > From: pgadmin-support-owner@postgresql.org > [mailto gadmin-support-owner@postgresql.org] On Behalf Of Miha Radej > Sent: 08 January 2006 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| > -----Original Message----- > From: pgadmin-support-owner@postgresql.org > [mailto > Sent: 08 January 2006 19:38 > To: 'pgadmin-support@postgresql.org' > Subject: [pgadmin-support] problem compiling on suse 10 > > hi! > > i am having problems compiling pgadmin on suse linux 10. i have > downloaded and compiled wxGTK 2.6.2 without problems (the contrib > directory also), using the following configure command: > > ./configure --with-gtk --enable-gtk2 --enable-unicode > --enable-mimetype=yes --enable-debug > > after installing wx i then attempted to configure and build > pgadmin. my > pgadmin configure line was: > > LDFLAGS="-L/usr/lib -lkrb5" ./configure > --prefix=/usr/local/pgadmin-svn > --enable-debug > > configure finishes ok (results in attached > pgadmin_configure.txt file) > but when issuing make, i get an error, included in the attached file > pgadmin_make.txt. > > i have trying omitting the "--enable-debug" option when > building wx and > pgadmin. in this case the build completes but when i attempt to run > pgadmin3, i get issued the message "Segmentation fault.". i > have tried > wx versions 2.6.0 and 2.6.2, with the same results. > > since pgadmin builds and works ok on my suse 9.3 system, is > it possible > that different gcc versions might have anything to do with > it? on suse > 9.3 i have gcc 3 while on suse 10 i have gcc 4: > > mcajvar@atair:~> gcc --version > gcc (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux) > > please help? It kinda looks like you have some other wx libs on there with a different config that are being picked up instead of the ones in /usr/local/lib. Could that be the case? Maybe Suse ships with some now. Regards, Dave. ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq |
| |||
| > > >> -----Original Message----- >> From: pgadmin-support-owner@postgresql.org >> [mailto >> Sent: 08 January 2006 19:38 >> To: 'pgadmin-support@postgresql.org' >> Subject: [pgadmin-support] problem compiling on suse 10 >> >> hi! >> >> i am having problems compiling pgadmin on suse linux 10. i have >> downloaded and compiled wxGTK 2.6.2 without problems (the contrib >> directory also), using the following configure command: >> >> ./configure --with-gtk --enable-gtk2 --enable-unicode >> --enable-mimetype=yes --enable-debug >> >> after installing wx i then attempted to configure and build >> pgadmin. my >> pgadmin configure line was: >> >> LDFLAGS="-L/usr/lib -lkrb5" ./configure >> --prefix=/usr/local/pgadmin-svn >> --enable-debug >> >> configure finishes ok (results in attached >> pgadmin_configure.txt file) >> but when issuing make, i get an error, included in the attached file >> pgadmin_make.txt. >> >> i have trying omitting the "--enable-debug" option when >> building wx and >> pgadmin. in this case the build completes but when i attempt to run >> pgadmin3, i get issued the message "Segmentation fault.". i >> have tried >> wx versions 2.6.0 and 2.6.2, with the same results. >> >> since pgadmin builds and works ok on my suse 9.3 system, is >> it possible >> that different gcc versions might have anything to do with >> it? on suse >> 9.3 i have gcc 3 while on suse 10 i have gcc 4: >> >> mcajvar@atair:~> gcc --version >> gcc (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux) >> >> please help? > > It kinda looks like you have some other wx libs on there with a > different config that are being picked up instead of the ones in > /usr/local/lib. Could that be the case? Maybe Suse ships with some now. > > Regards, Dave. > > ---------------------------(end of broadcast)--------------------------- > TIP 3: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faq > After removing wxWidgets 2.6.2, downloading and compiling wxWidgets development snapshot (2.7 dev) and compiling pgadmin3 configured with --with-wx-version=2.7, now pgadmin3 runs Ok. Both wxWidgets and pgadmin were configure with --enable-debug. Linux is Fedora Core 4. Regards, Diego. ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster |
| ||||
| hi! diego@adminsa.com wrote: > After removing wxWidgets 2.6.2, downloading and compiling wxWidgets > development snapshot (2.7 dev) and compiling pgadmin3 configured with > --with-wx-version=2.7, now pgadmin3 runs Ok. > > Both wxWidgets and pgadmin were configure with --enable-debug. > > Linux is Fedora Core 4. thanks for the information! as soon as i have the time i will try the same. >It kinda looks like you have some other wx libs on there with a >different config that are being picked up instead of the ones in >/usr/local/lib. Could that be the case? Maybe Suse ships with some now. i've removed any prior wx* packages from yast. even so i should hope that would not be a problem because suse10 comes with wx 2.6.1 iirc. i'll give diego's recipe a go and report back. thanks again, Miha ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@postgresql.org so that your message can get through to the mailing list cleanly |