Thread: problems compiling PGAdmin III 1.6.1 with ubuntu 6.06
hi all, i wanted to compile PGAdmin III 1.6.1 with ubuntu 6.06 according the compile-instructions at http://www.pgadmin.org/download/source.php and i got the following message configure: error: Your wxWidgets installation cannot support pgAdmin in the selected configuration. This may be because it was configured without the --enable-unicode option, or the combination of dynamic/static linking and debug/non-debug libraries selected did not match any installed wxWidgets libraries. below i listed the installation-steps and the configure-messages from pgadmin i would appreciate every help i get. thanks and greetings from munich christian p.s. the PostgreSQL version is 8.15 ------------------------------------------------------------------------ ----------------------- installation-steps Source-Installation wxWidgets tar -zvxf wxGTK-2.8.0-rc1.tar.gz sudo mv wxGTK-2.8.0-rc1 /usr/src/ cd /usr/src/wxGTK-2.8.0-rc1/ #GTK2+ Installation sudo aptitude install libgtk2.0-dev ./configure --with-gtk --enable-gtk2 --enable-unicode --enable-mimetype=no make sudo make install # Install wxWidgets contrib modules. cd contrib/ make sudo make install #Libraries sudo aptitude install libxml2 2.6.18 sudo aptitude install libxslt1.1.x Source-Installation pgadmin III ./configure ------------------------------------------------------------------------ ----------------------------- configure-messages christian@christian-desktop:/usr/src/pgadmin3-1.6.1$ ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking how to create a ustar tar archive... gnutar checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for working strtod... yes checking for gethostbyname... yes checking for inet_ntoa... yes checking for memmove... yes checking for memset... yes checking for strchr... yes checking for PQexec in -lpq... yes checking for SSL_connect in -lpq... no checking for krb5_free_principal in -lpq... no checking libpq-fe.h usability... yes checking libpq-fe.h presence... yes checking for libpq-fe.h... yes checking PostgreSQL in /usr/local/pgsql... ok checking wxWidgets in /usr/local... failed configure: error: Your wxWidgets installation cannot support pgAdmin in the selected configuration. This may be because it was configured without the --enable-unicode option, or the combination of dynamic/static linking and debug/non-debug libraries selected did not match any installed wxWidgets libraries.
Christian.Strobl@dlr.de wrote: > hi all, > > i wanted to compile PGAdmin III 1.6.1 with ubuntu 6.06 according the > compile-instructions at http://www.pgadmin.org/download/source.php and i > got the following message > > configure: error: Your wxWidgets installation cannot support pgAdmin in > the selected configuration. This may be because it was configured > without the --enable-unicode option, or the combination of > dynamic/static linking and debug/non-debug libraries selected did not > match any installed wxWidgets libraries. > > below i listed the installation-steps and the configure-messages from > pgadmin > i would appreciate every help i get. Try adding --with-wx-version=2.8 to the pgAdmin configure command. Regards, Dave.
> -----Ursprüngliche Nachricht----- > Von: Dave Page [mailto:dpage@postgresql.org] > Gesendet: Mittwoch, 6. Dezember 2006 15:47 > An: Strobl, Christian > Cc: pgadmin-support@postgresql.org > Betreff: Re: [pgadmin-support] problems compiling PGAdmin III > 1.6.1 with ubuntu 6.06 > > Christian.Strobl@dlr.de wrote: > > hi all, > > > > i wanted to compile PGAdmin III 1.6.1 with ubuntu 6.06 > according the > > compile-instructions at > http://www.pgadmin.org/download/source.php and > > i got the following message > > > > configure: error: Your wxWidgets installation cannot > support pgAdmin > > in the selected configuration. This may be because it was > configured > > without the --enable-unicode option, or the combination of > > dynamic/static linking and debug/non-debug libraries > selected did not > > match any installed wxWidgets libraries. > > > > below i listed the installation-steps and the > configure-messages from > > pgadmin i would appreciate every help i get. > > Try adding --with-wx-version=2.8 to the pgAdmin configure command. > > Regards, Dave. > thanks dave, that worked fine. but now if i make install i get /usr/bin/ld: cannot find -lcrypto is that a ssl-problem? christian
Christian.Strobl@dlr.de wrote: > that worked fine. but now if i make install i get > > /usr/bin/ld: cannot find -lcrypto > > is that a ssl-problem? Guess so - you'll need to figure out what package it comes with on Ubuntu and install it. Regards, Dave.