Re: problem compiling on suse 10

From: diego(at)adminsa(dot)com
To: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
Cc: "Miha Radej" <miha(dot)radej(at)siix(dot)com>, pgadmin-support(at)postgresql(dot)org
Subject: Re: problem compiling on suse 10
Date: 2006-01-09 12:46:08
Message-ID: 58109.127.0.0.1.1136810791.squirrel@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

>
>
>> -----Original Message-----
>> From: pgadmin-support-owner(at)postgresql(dot)org
>> [mailto:pgadmin-support-owner(at)postgresql(dot)org] On Behalf Of Miha Radej
>> Sent: 08 January 2006 19:38
>> To: 'pgadmin-support(at)postgresql(dot)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(at)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.

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Miha Radej 2006-01-09 13:47:33 Re: problem compiling on suse 10
Previous Message Dave Page 2006-01-09 08:24:35 Re: problem compiling on suse 10