[Gambas-user] Build from source on Debian 10 Buster

Bruce adamnt42 at gmail.com
Sun May 3 01:25:32 CEST 2020



On 3/5/20 2:41 am, KKing wrote:
> When I tried
> <<
> Step 3. Install these packages :
> $ sudo apt install build-essential g++ automake autoconf libbz2-dev 
> unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev 
> default-libmysqlclient-dev postgresql-server-dev-9.6 libglib2.0-dev 
> libgtk2.0-dev libcurl4-gnutls-dev libgtkglext1-dev libpcre3-dev 
> libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libxml2-dev 
> libxslt1-dev librsvg2-dev libpoppler-dev libpoppler-glib-dev 
> libpoppler-private-dev libasound2-dev libdirectfb-dev libxtst-dev 
> libffi-dev libqt4-dev libqtwebkit-dev libqt4-opengl-dev libglew-dev 
> libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev 
> libgdk-pixbuf2.0-dev linux-libc-dev libgstreamer1.0-dev 
> libgstreamer-plugins-base1.0-dev libcairo2-dev libgsl-dev 
> libncurses5-dev libgmime-2.6-dev libalure-dev libgmp-dev libgtk-3-dev 
> libsdl2-dev libsdl2-mixer-dev libsdl2-ttf-dev libsdl2-image-dev 
> sane-utils libdumb1-dev libqt5opengl5-dev libqt5svg5-dev 
> libqt5webkit5-dev libqt5x11extras5-dev qtbase5-dev libssl-dev
>  >>
> I got
> 
> <<but it responds
> E: Unable to locate package postgresql-server-dev-9.6
> E: Couldn't find any package by glob 'postgresql-server-dev-9.6'
> E: Couldn't find any package by regex 'postgresql-server-dev-9.6'
> E: Unable to locate package libgnome-keyring-dev
>  >>
> 

That list does not look right for buster, if it were me I'd go back to 
the requirements on the generic install from source page and work out 
the proper package requirements for buster. For example:
buster uses postgresql v11 (a Gianluigi pointed out) - the correct 
client side library is "libpq5" not libpq, also
I don't see why postgresql-server-dev is included at all, that's the 
headers for programming the postgres server?

> if I ignore that and run
> $ ./configure -C
> 
> I get
> <<
> ||
> || THESE COMPONENTS ARE DISABLED:
> || - gb.compress.bzlib2
> || - gb.db.mysql
> || - gb.db.odbc
> || - gb.db.postgresql
> || - gb.desktop.gnome.keyring
> || - gb.desktop.x11
> || - gb.gmp
> ||

You will need to go though each and every one of these (that you want) 
and find out exactly what bit is missing. I know that bzlib in the 
distro we use is a pain because the actual libraries (.so files) are 
spread out over several library rpms that have nothing to do really with 
bzip. Your mileage may differ.

hth
b


More information about the User mailing list