Unix Technical Forum

Re: problem compiling on suse 10

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 ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 08:18 PM
Dave Page
 
Posts: n/a
Default Re: problem compiling on suse 10



> -----Original Message-----
> From: pgadmin-support-owner@postgresql.org
> [mailtogadmin-support-owner@postgresql.org] On Behalf Of Miha Radej
> 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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 08:18 PM
diego@adminsa.com
 
Posts: n/a
Default Re: problem compiling on suse 10

>
>
>> -----Original Message-----
>> From: pgadmin-support-owner@postgresql.org
>> [mailtogadmin-support-owner@postgresql.org] On Behalf Of Miha Radej
>> 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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-17-2008, 08:18 PM
Miha Radej
 
Posts: n/a
Default Re: problem compiling on suse 10

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:09 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com