[Gambas-user] config -C is not finding some files installed on my system

Doug Hutcheson owlbrudder at ...626...
Tue Sep 19 09:14:23 CEST 2017



On Tue, 2017-09-19 at 16:02 +1000, Doug Hutcheson wrote:
> On Tue, 2017-09-19 at 15:00 +1000, Doug Hutcheson wrote:
> > On Mon, 2017-09-18 at 16:06 +0200, Karl Reinl wrote:
> > > Am Montag, den 18.09.2017, 11:07 +1000 schrieb Doug Hutcheson:
> > > > I am trying to compile Gambas downloaded from Git the other day
> > > > and
> > > > config is failing to find files that exist on my system,
> > > > causing a
> > > > number of modules to be disabled.
> > > > For example, the output of config includes these lines:------
> > > > --------
> > > > -------------------------------------------------------------
> > > > --------
> > > > -------checking for gb.gsl component with pkg-config...
> > > > noconfigure:
> > > > WARNING: Unable to met pkg-config requirement: gslchecking for
> > > > gb.gsl
> > > > headers... ./configure: line 18086: gsl-config: command not
> > > > foundnoconfigure: WARNING: Unable to find file:
> > > > gsl/gsl_cblas.hconfigure: WARNING: Unable to find file:
> > > > gsl/gsl_math.hchecking for gb.gsl libraries... ./configure:
> > > > line 18234:
> > > > gsl-config: command not foundnoconfigure: WARNING: Unable to
> > > > find file:
> > > > libgslcblas.soconfigure: WARNING: Unable to find file:
> > > > libgsl.soconfigure: WARNING: gb.gsl is disabled--------------
> > > > --------
> > > > -------------------------------------------------------------
> > > > -------
> > > > 
> > > > Yet all the files mentioned do exist;
> > > > -------------------------------------------------------------
> > > > --------
> > > > ---------------------
> > > > $ locate gb.gsl
> > > > /usr/lib64/gambas3/gb.gsl.component
> > > > /usr/lib64/gambas3/gb.gsl.la
> > > > /usr/lib64/gambas3/gb.gsl.so
> > > > /usr/lib64/gambas3/gb.gsl.so.0
> > > > /usr/lib64/gambas3/gb.gsl.so.0.0.0
> > > > /usr/share/gambas3/info/gb.gsl.info
> > > > /usr/share/gambas3/info/gb.gsl.list
> > > > 
> > > > $ locate gsl-config
> > > > /usr/bin/gsl-config
> > > > -------------------------------------------------------------
> > > > --------
> > > > ---------------------
> > > > And so on.
> > > > 
> > > > What have I done wrong?   "8-(
> > > > 
> > > > Kind regards,
> > > > Doug
> > > 
> > > Salut Doug,
> > > 
> > > did you have a distro-gambas3 installed before?
> > > If yes, you have to uninstall that first.
> > 
> > Thanks Charlie. I did have Gambas3 installed, so I have removed it.
> > 
> > I am still getting puzzling results. For example:
> > -----------------------------------------------------------------
> > ---
> > checking for gb.image.imlib component with pkg-config... no
> > configure: WARNING: Unable to met pkg-config requirement: imlib2 >=
> > 1.4.0
> > configure: WARNING: gb.image.imlib is disabled
> > -----------------------------------------------------------------
> > ---
> > 
> > I had already installed 1.4.9-2 using dnf (I'm on Fedora 26):
> > -----------------------------------------------------------------
> > ---
> > Installed:
> >   imlib2.x86_64 1.4.9-
> > 2.fc26                                                    
> > 
> > Complete!
> > [root at ...3690... ~]# locate imlib2
> > /usr/lib64/imlib2
> > /usr/lib64/imlib2/filters
> > /usr/lib64/imlib2/loaders
> > /usr/lib64/imlib2/filters/bumpmap.so
> > /usr/lib64/imlib2/filters/colormod.so
> > /usr/lib64/imlib2/filters/testfilter.so
> > /usr/lib64/imlib2/loaders/argb.so
> > /usr/lib64/imlib2/loaders/bmp.so
> > /usr/lib64/imlib2/loaders/bz2.so
> > /usr/lib64/imlib2/loaders/ff.so
> > /usr/lib64/imlib2/loaders/gif.so
> > /usr/lib64/imlib2/loaders/jpeg.so
> > /usr/lib64/imlib2/loaders/lbm.so
> > /usr/lib64/imlib2/loaders/png.so
> > /usr/lib64/imlib2/loaders/pnm.so
> > /usr/lib64/imlib2/loaders/tga.so
> > /usr/lib64/imlib2/loaders/tiff.so
> > /usr/lib64/imlib2/loaders/xpm.so
> > /usr/lib64/imlib2/loaders/zlib.so
> > /usr/share/doc/imlib2
> > /usr/share/doc/imlib2/AUTHORS
> > /usr/share/doc/imlib2/COPYING
> > /usr/share/doc/imlib2/README
> > /usr/share/doc/imlib2/TODO
> > -----------------------------------------------------------------
> > ---
> > 
> > So I am still puzzled by the config being unable to find the files
> > I have installed - in this case imlib2. Is it something I have
> > failed to do?   "8-/
> > 
> > Kind regards,
> > Doug
> 
> Forget that - it was my fault as I had not installed the 'devel'
> component of imlib2. Doh!
> 
> I will keep working through the disabled components and try to solve
> the problems myself.
> 
> Kind regards,
> Doug

I have solved most of the config problems, but I' left with these:-----
---------------------------------------------------------------------
-------checking for LLVM, version between 3.1 and 3.5... noconfigure:
WARNING: gb.jit is disabled------------------------------------------
---------------------------------------
I have installed every llvm component:---------------------------------
------------------------------------------------[root at ...3690... ~]# dnf
install llvm*Last metadata expiration check: 0:19:30 ago on Tue 19 Sep
2017 16:15:31 AEST.Package llvm-4.0.1-1.fc26.x86_64 is already
installed, skipping.Package llvm-devel-4.0.1-1.fc26.x86_64 is already
installed, skipping.Package llvm-doc-4.0.1-1.fc26.noarch is already
installed, skipping.Package llvm-libs-4.0.1-1.fc26.x86_64 is already
installed, skipping.Package llvm-libs-4.0.1-1.fc26.i686 is already
installed, skipping.Package llvm-static-4.0.1-1.fc26.x86_64 is already
installed, skipping.Package llvm3.7-3.7.1-5.fc26.x86_64 is already
installed, skipping.Package llvm3.7-devel-3.7.1-5.fc26.x86_64 is
already installed, skipping.Package llvm3.7-doc-3.7.1-5.fc26.noarch is
already installed, skipping.Package llvm3.7-libs-3.7.1-5.fc26.x86_64 is
already installed, skipping.Package llvm3.7-static-3.7.1-5.fc26.x86_64
is already installed, skipping.Package llvm3.9-3.9.1-9.fc26.x86_64 is
already installed, skipping.Package llvm3.9-devel-3.9.1-9.fc26.x86_64
is already installed, skipping.Package llvm3.9-libs-3.9.1-9.fc26.x86_64 
is already installed, skipping.Package llvm3.9-static-3.9.1-
9.fc26.x86_64 is already installed, skipping.Package llvm34-3.4.2-
10.fc26.x86_64 is already installed, skipping.Package llvm34-devel-
3.4.2-10.fc26.x86_64 is already installed, skipping.Package llvm34-doc-
3.4.2-10.fc26.noarch is already installed, skipping.Package llvm34-
libs-3.4.2-10.fc26.x86_64 is already installed, skipping.Package
llvm34-static-3.4.2-10.fc26.x86_64 is already installed,
skipping.Package llvm35-3.5.2-4.fc26.x86_64 is already installed,
skipping.Package llvm35-devel-3.5.2-4.fc26.x86_64 is already installed,
skipping.Package llvm35-doc-3.5.2-4.fc26.noarch is already installed,
skipping.Package llvm35-libs-3.5.2-4.fc26.x86_64 is already installed,
skipping.Package llvm35-static-3.5.2-4.fc26.x86_64 is already
installed, skipping.Dependencies resolved.Nothing to do.Complete!----
---------------------------------------------------------------------
--------

Is there some other LLVM component I need to install?


---------------------------------------------------------------------
------------checking for gb.sdl2 component with pkg-config...
noconfigure: WARNING: Unable to met pkg-config requirement: >=
2.0.2configure: WARNING: Unable to met pkg-config requirement: >=
2.0.0configure: WARNING: Unable to met pkg-config requirement: >=
2.0.12configure: WARNING: gb.sdl2 is disablednoconfigure: WARNING:
Unable to met pkg-config requirement: >= 2.0.2configure: WARNING:
Unable to met pkg-config requirement: >= 2.0.0configure: WARNING:
gb.sdl2.audio is disabled--------------------------------------------
-------------------------------------
I have installed the latest version in the Fedora repos, but it still
fails:-----------------------------------------------------------------
----------------[root at ...3690... ~]# dnf install pkgconf*Last metadata
expiration check: 0:38:39 ago on Tue 19 Sep 2017 16:15:31 AEST.Package
pkgconf-1.3.8-1.fc26.x86_64 is already installed, skipping.Package
pkgconf-1.3.8-1.fc26.i686 is already installed, skipping.Package
pkgconf-m4-1.3.8-1.fc26.noarch is already installed, skipping.Package
pkgconf-pkg-config-1.3.8-1.fc26.x86_64 is already installed,
skipping.Package pkgconf-pkg-config-1.3.8-1.fc26.i686 is already
installed, skipping.Dependencies resolved.Nothing to do.Complete![root@
womble ~]# dnf install pkg-config*Last metadata expiration check:
0:46:11 ago on Tue 19 Sep 2017 16:15:31 AEST.Package pkgconf-pkg-
config-1.3.8-1.fc26.x86_64 is already installed, skipping.Package
pkgconf-pkg-config-1.3.8-1.fc26.i686 is already installed,
skipping.Dependencies resolved.Nothing to do.Complete!-----------------
----------------------------------------------------------------
I have Googled 'pkg-config 2.0.2' without luck, so don't know how to
proceed with this one.

As always, I would be very grateful for any help.
Kind regards,Doug



More information about the User mailing list