[Slackbuilds-users] pgadmin3 is broken, missing wx contrib

Asaf asaf at lingnu.com
Thu Jul 21 13:28:41 UTC 2011


On 07/21/2011 02:44 PM, Niels Horn wrote:
> On Thu, Jul 21, 2011 at 5:30 AM, Asaf<asaf at lingnu.com>  wrote:
>> missing wx stc contrib module, solution in wxX11 or wxGTK slackbuilds:
>>
>> cd contrib
>> ../configure ....
>> make
>> make install
>> cd ..
>>
>> --
>> Asaf Ohaion
>> Lingnu Open Source Consulting Ltd
>> http://www.lingnu.com
>>
> Hi,
>
> Can you be a bit more specific in how it is "broken"?
>
> Changing wxGTK or wxX11 won't help much as pgadmin3 states it requires wxPython.
>
> --
> Niels Horn
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
>

it doesn't compile, (file not found wx/stc.h"), it needs the "stc" 
contributed module, the exact fix is,
after the line : "make install DESTDIR=$PKG", add:

cd contrib


CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
LDFLAGS="-L $PWD/../lib/" \
../configure \
   --prefix=/usr \
   --libdir=/usr/lib${LIBDIRSUFFIX} \
   --sysconfdir=/etc \
   --enable-shared \
   --with-opengl \
   --${_do_unicode}able-unicode \
   --build=$ARCH-slackware-linux$ARCHQUADLET

cd contrib/src/stc
make
make install DESTDIR=$PKG

cd ../../..


BTW, I don't think it requires wxPython (not by default anyway),
it is written in c++ and I have successfully compiled and used it 
without wxPython.

-- 
Asaf Ohaion
Lingnu Open Source Consulting Ltd
http://www.lingnu.com



More information about the SlackBuilds-users mailing list