LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-26-2016, 04:17 AM   #16
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,048

Rep: Reputation: Disabled

Gérard, run updatedb first (before locate).

Also I'm wondering: maybe your kernel headers are messed up with several versions of (customized) kernel-source installed. IMHO It wouldn't be bad to clean the house.
 
Old 04-26-2016, 04:18 AM   #17
Mark Pettit
Member
 
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 15.0
Posts: 617

Rep: Reputation: 297Reputation: 297Reputation: 297
Quote:
Originally Posted by gmgf View Post
locate: warning: database /var/lib/slocate/slocate.db' is more than 8 days old
Can't imagine that condition helping you if you have recently loaded packages.
 
Old 04-26-2016, 04:30 AM   #18
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Original Poster
Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Quote:
Originally Posted by pchristy View Post
gmgf: Just a thought - what do you get when you run
Code:
locate gio.h
I'm wondering if you (and perhaps Robby?) have one hanging around somewhere from an old build, that I don't, and therefore openvpn can't find it? It would be interesting to compare the output you get with my result for the same command.
Pete --

I am not gmgf and I've not tried compiling the Networkmanager-openvpn plugin but these are the files I see on my Current multilib box:

Code:
# uname -a

Linux kjhlt6 4.4.8 #2 SMP Fri Apr 22 16:50:35 CDT 2016 x86_64 Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz GenuineIntel GNU/Linux
Code:
# ls -la /var/log/packages/*glib2*

-rw-r--r-- 1 root root 47209 Feb  8 07:12 /var/log/packages/glib2-2.46.2-x86_64-2
-rw-r--r-- 1 root root  1935 Feb 12 03:41 /var/log/packages/glib2-compat32-2.46.2-x86_64-2compat32
These are all the gio.h files.

Only the first file is the 'keeper' but I see diffs in your Kernel Source List ...

Code:
# ls -lad $(locate gio.h |grep '/gio.h$')

-rw-r--r-- 1 root root 5431 Dec  1 12:37 /usr/include/glib-2.0/gio/gio.h
-rw-r--r-- 1 root root 2598 Jan 31 13:29 /usr/src/linux-4.4.1/arch/mips/include/asm/sgi/gio.h
-rw-r--r-- 1 root root 1256 Jan 31 13:29 /usr/src/linux-4.4.1/arch/sh/include/mach-landisk/mach/gio.h
-rw-r--r-- 1 root root 2598 Feb 25 14:01 /usr/src/linux-4.4.3/arch/mips/include/asm/sgi/gio.h
-rw-r--r-- 1 root root 1256 Feb 25 14:01 /usr/src/linux-4.4.3/arch/sh/include/mach-landisk/mach/gio.h
-rw-r--r-- 1 root root 2598 Mar  3 17:10 /usr/src/linux-4.4.4/arch/mips/include/asm/sgi/gio.h
-rw-r--r-- 1 root root 1256 Mar  3 17:10 /usr/src/linux-4.4.4/arch/sh/include/mach-landisk/mach/gio.h
-rw-r--r-- 1 root root 2598 Mar  9 17:35 /usr/src/linux-4.4.5/arch/mips/include/asm/sgi/gio.h
-rw-r--r-- 1 root root 1256 Mar  9 17:35 /usr/src/linux-4.4.5/arch/sh/include/mach-landisk/mach/gio.h
-rw-r--r-- 1 root root 2598 Mar 16 10:43 /usr/src/linux-4.4.6/arch/mips/include/asm/sgi/gio.h
-rw-r--r-- 1 root root 1256 Mar 16 10:43 /usr/src/linux-4.4.6/arch/sh/include/mach-landisk/mach/gio.h
-rw-r--r-- 1 root root 2598 Apr 12 11:09 /usr/src/linux-4.4.7/arch/mips/include/asm/sgi/gio.h
-rw-r--r-- 1 root root 1256 Apr 12 11:09 /usr/src/linux-4.4.7/arch/sh/include/mach-landisk/mach/gio.h
-rw-r--r-- 1 root root 2598 Apr 20 01:44 /usr/src/linux-4.4.8/arch/mips/include/asm/sgi/gio.h
-rw-r--r-- 1 root root 1256 Apr 20 01:44 /usr/src/linux-4.4.8/arch/sh/include/mach-landisk/mach/gio.h
Are you running 4.4.3 or ... ?

I also see that there's an update for glib2 ( 2.48.0 ) vs slackware-current 2.46.2.

I downloaded and untar'd glib2-2.48.0 into a temp directory and these are the diffs ...

Code:
# diff -Naur /usr/include/glib-2.0/gio/gio.h /home/dld/tmp/glib-2.48.0/gio/gio.h
Code:
--- /usr/include/glib-2.0/gio/gio.h     2015-12-01 12:37:47.000000000 -0600
+++ /home/dld/tmp/glib-2.48.0/gio/gio.h 2016-02-29 08:32:08.000000000 -0600
@@ -44,6 +44,7 @@
 #include <gio/gconverterinputstream.h>
 #include <gio/gconverteroutputstream.h>
 #include <gio/gcredentials.h>
+#include <gio/gdatagrambased.h>
 #include <gio/gdatainputstream.h>
 #include <gio/gdataoutputstream.h>
 #include <gio/gdbusaddress.h>
@@ -59,6 +60,9 @@
 #include <gio/gdbusserver.h>
 #include <gio/gdbusutils.h>
 #include <gio/gdrive.h>
+#include <gio/gdtlsclientconnection.h>
+#include <gio/gdtlsconnection.h>
+#include <gio/gdtlsserverconnection.h>
 #include <gio/gemblemedicon.h>
 #include <gio/gfileattribute.h>
 #include <gio/gfileenumerator.h>
I wonder what the effective -I flag contains if you were to run
Code:
./configure && make
on a temp copy of Networkmanager-openvpn ?

HTH.

-- kjh

P.S. I reread your original post and I saw this:
Quote:
I'm running a home-rolled kernel 4.4.3.
Oops.

Last edited by kjhambrick; 04-26-2016 at 05:26 AM. Reason: missed something in Pete's Post
 
Old 04-26-2016, 04:52 AM   #19
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,192

Rep: Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987
Quote:
Originally Posted by Didier Spaier View Post
Gérard, run updatedb first (before locate).

Also I'm wondering: maybe your kernel headers are messed up with several versions of (customized) kernel-source installed. IMHO It wouldn't be bad to clean the house.
yes you have right, I did the cleaning

/usr/src/linux-4.4.8/arch/um/include/shared/sigio.h
/usr/src/linux-4.4.8/arch/sh/include/mach-landisk/mach/gio.h
/usr/src/linux-4.4.8/arch/mips/include/asm/sgi/gio.h
/usr/include/glib-2.0/gio/gio.h
/usr/include/libgsf-1/gsf/gsf-output-gio.h
/usr/include/libgsf-1/gsf/gsf-input-gio.h
/usr/include/gmime-2.6/gmime/gmime-stream-gio.h
/usr/share/gtk-doc/html/gst-plugins-base-plugins-1.0/gst-plugins-base-plugins-plugin-gio.html
/usr/share/gtk-doc/html/gst-plugins-base-plugins-0.10/gst-plugins-base-plugins-plugin-gio.html
/usr/share/gtk-doc/html/gio/extending-gio.html
/var/www/htdocs/manual/mod/mod_logio.html
 
Old 04-26-2016, 05:02 AM   #20
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,048

Rep: Reputation: Disabled
Now wondering what says uname -r (4.4.8$something?) and if you have an /usr/src/linux symlink that points to that kernel source (not sure it's really necessary but won't hurt).

See under "Slackware kernel-headers package" in Eric's article http://alien.slackbook.org/dokuwiki/...kernelbuilding

Although gio.h could rather be expected to come from glib-2. Please someone more knowledgeable shed some light here.

Last edited by Didier Spaier; 04-26-2016 at 05:16 AM. Reason: Removed useless "the" before gio.h
 
1 members found this post helpful.
Old 04-26-2016, 05:51 AM   #21
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Original Poster
Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Quote:
Originally Posted by pchristy View Post
Running Slackware64-current, and just uploaded the latest upgrades. NetworkManager-1.2 working great, but I was only running NetworkManager-openvpn-1.0.8. When I tried to compile Networkmanager-openvpn-1.2.0, it crashed with the following error:
Code:
In file included from nm-default.h:41:0,
                 from nm-shared-utils.c:22:
nm-glib.h:24:21: fatal error: gio/gio.h: No such file or directory
compilation terminated.
Pete --

I was able to download the Slackware Version 14.1 NetworkManager-openvpn SlackBuild and NetworkManager-openvpn-1.2.0 source and try a build.

Built fine for me on Current 4.4.8 ...

Maybe my configure.log and Makefile from /tmp/SBo/NetworkManager-openvpn-1.2.0/ might help ?

-- kjh(??? had to save Makefile as Makefile.txt to upload ???)
Attached Files
File Type: log config.log (52.9 KB, 13 views)
File Type: txt Makefile.txt (35.6 KB, 10 views)
 
1 members found this post helpful.
Old 04-26-2016, 01:51 PM   #22
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,107

Rep: Reputation: Disabled
KJH: Just had a look at your config.log, using "vim -d" to compare with mine. One thing leaps out at me, and that is that around line 950 "GTK_LIBS=" where your config has a whole pile of libs listed including lglib-2.0 and lgio-2.0. My config just has a blank ' ' at that point. There are quite a few similar lines as well where your config seems to have picked things up that mine has missed.

Did you modify the slackbuild file in any way? Or has my system just failed to pick these things up automatically for some reason?

Cheers,

--
Pete
 
Old 04-26-2016, 02:31 PM   #23
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Original Poster
Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Quote:
Originally Posted by pchristy View Post
KJH: Just had a look at your config.log, using "vim -d" to compare with mine. One thing leaps out at me, and that is that around line 950 "GTK_LIBS=" where your config has a whole pile of libs listed including lglib-2.0 and lgio-2.0. My config just has a blank ' ' at that point. There are quite a few similar lines as well where your config seems to have picked things up that mine has missed.

Did you modify the slackbuild file in any way? Or has my system just failed to pick these things up automatically for some reason?
Pete --

Nope and maybe so ...

I am running Slackware-Current( 14.2RC2 ) + Multilib.

Nothing else is non-standard.

All I changed in the SBO version 14.1 SlackBuild Script was the version of NetworkManager-openvpn from 0.9.4.0 to 1.2.0:

Code:
PRGNAM=NetworkManager-openvpn
# RSION=${VERSION:-0.9.4.0}     # kjh pounded
VERSION=${VERSION:-1.2.0}       # kjh added
-- kjh

Full Slackbuild follows:

Code:
# cat /home/dld/slackbuilds/NetworkManager/NetworkManager-openvpn/NetworkManager-openvpn.SlackBuild
Code:
#!/bin/sh

# Slackware build script for NetworkManager

# Copyright 2010-2012  Robby Workman, Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
#
#  THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
#  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
#  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO
#  EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
#  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
#  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
#  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
#  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
#  OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
#  ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

PRGNAM=NetworkManager-openvpn
# RSION=${VERSION:-0.9.4.0}     # kjh pounded
VERSION=${VERSION:-1.2.0}       # kjh added
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}

if [ -z "$ARCH" ]; then
  case "$( uname -m )" in
    i?86) ARCH=i486 ;;
    arm*) ARCH=arm ;;
       *) ARCH=$( uname -m ) ;;
  esac
fi

CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}

if [ "$ARCH" = "i486" ]; then
  SLKCFLAGS="-O2 -march=i486 -mtune=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
  SLKCFLAGS="-O2 -march=i686 -mtune=i686"
  LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
  SLKCFLAGS="-O2 -fPIC"
  LIBDIRSUFFIX="64"
else
  SLKCFLAGS="-O2"
  LIBDIRSUFFIX=""
fi

set -e

rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
 \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
 -exec chmod 755 {} \; -o \
 \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
 -exec chmod 644 {} \;

CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --mandir=/usr/man \
  --docdir=/usr/doc/$PRGNAM-$VERSION \
  --build=$ARCH-slackware-linux

make
make install DESTDIR=$PKG

find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
  | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
  AUTHORS COPYING ChangeLog NEWS README \
  $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

Last edited by kjhambrick; 04-26-2016 at 02:35 PM. Reason: oops 1.41 to 14.1
 
1 members found this post helpful.
Old 04-26-2016, 10:23 PM   #24
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Hrm, likely this: https://slackbuilds.org/faq/#multilib
 
Old 04-27-2016, 02:11 AM   #25
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,107

Rep: Reputation: Disabled
Hi Robby,

I'm not running multi-lib, mine is a pure 64-bit install. It started out life as 14.1 and has been upgraded with each release of current updates. I've also just tried building NetworkManager-openvpn-1.2.0 on another machine, an old one that doesn't get much use. The build fails with the same error. I'm just about to try it on my laptop.

It has to be something stupid, but I'm struggling to find it.......

--
Pete
 
Old 04-27-2016, 02:20 AM   #26
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,048

Rep: Reputation: Disabled
@pchristy: the way to be sure would be to try on a freshly installed Slackware-current, not on an upgraded Slackware-14.1.
 
Old 04-27-2016, 02:38 AM   #27
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,107

Rep: Reputation: Disabled
Hi Didier, yes, you are probably right! Unfortunately time precludes me from doing a complete re-install at the moment.

As a matter of interest, NetworkManager-openvpn-1.0.8 builds perfectly without any errors using the same slackbuild script (other than changing the version number), so whatever the issue is, it is something specific to the new version of NetworkManager-openvpn.

I've also tried building NetworkManager-1.2.0 from source, and that also builds without any problems.

Oh, and I've now tried it on the laptop, which also fails with the same error. So that's three machines it won't build on - not really surprising, as all have followed the same upgrade path, but they do all have different packages installed. For instance the laptop has a fairly minimal install for size/speed reasons, whereas my main desktop is loaded with video editing and manipulation software, amongst other things.

I'm not completely stuck here, as NetworkManager-1.2.0 seems to work quite happily with NetworkManager-openvpn-1.0.8, but it is niggling me that something is clearly amiss somewhere.

--
Pete
 
Old 04-27-2016, 02:50 AM   #28
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,107

Rep: Reputation: Disabled
I'm attaching my config log and Makefile, in case this helps. Comparing these to kjh's files using vim -d shows clearly that for some reason, a lot of libraries are not being detected.

Does this provide any clues?

--
Pete
Attached Files
File Type: txt Makefile_pc.txt (33.1 KB, 14 views)
File Type: log config_pc.log (42.9 KB, 10 views)
 
Old 04-27-2016, 03:36 AM   #29
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Original Poster
Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Quote:
Originally Posted by pchristy View Post
<snip>
As a matter of interest, NetworkManager-openvpn-1.0.8 builds perfectly without any errors using the same slackbuild script (other than changing the version number), so whatever the issue is, it is something specific to the new version of NetworkManager-openvpn.

I've also tried building NetworkManager-1.2.0 from source, and that also builds without any problems.
Pete --

oops ... started this reply before you posted your files so this reply is 'out of order' ...

I wonder how the config.log(s) and Makefile(s) compare with the manually compiled 1.2.0 source tree vs the same files tree under your /tmp/SBo/NetworkManager-openvpn-1.2.0/ Directory ?

I compared my tmp/SBo/NetworkManager-openvpn-1.2.0/config.log with yours and these are the invocation diffs ( reformatted a tad to show diffs )
Code:
# pwd
/tmp/SBo/NetworkManager-openvpn-1.2.0

# grep  '^ *\$ ./configure ' config.log /home/tmp/Pete-config_pc.log

config.log:                    $ ./configure --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc --localstatedir=/var --mandir=/usr/man                           --docdir=/usr/doc/NetworkManager-openvpn-1.2.0 --build=x86_64-slackware-linux
/home/tmp/Pete-config_pc.log:  $ ./configure --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc --localstatedir=/var --mandir=/usr/man --enable-more-warnings=no --docdir=/usr/doc/NetworkManager-openvpn-1.2.0 --build=x86_64-slackware-linux --without-gnome

# grep  '^ *Configured with:' config.log /home/tmp/Pete-config_pc.log 

config.log:                  Configured with: ../gcc-5.3.0/configure --prefix=/usr --libdir=/usr/lib64 --mandir=/usr/man --infodir=/usr/info --enable-shared --enable-bootstrap --enable-languages=ada,c,c++,fortran,go,java,lto,objc --enable-threads=posix --enable-checking=release --enable-objc-gc --with-system-zlib --with-python-dir=/lib64/python2.7/site-packages --enable-libstdcxx-dual-abi --with-default-libstdcxx-abi=gcc4-compatible --disable-libunwind-exceptions --enable-__cxa_atexit --enable-libssp --enable-lto --disable-install-libiberty --with-gnu-ld --verbose --enable-java-home --with-java-home=/usr/lib64/jvm/jre --with-jvm-root-dir=/usr/lib64/jvm --with-jvm-jar-dir=/usr/lib64/jvm/jvm-exports --with-arch-directory=amd64 --with-antlr-jar=/home/slackware/slackbuilds/gcc/antlr-runtime-3.4.jar                                                --enable-multilib  --target=x86_64-slackware-linux --build=x86_64-slackware-linux --host=x86_64-slackware-linux
/home/tmp/Pete-config_pc.log:Configured with: ../gcc-5.3.0/configure --prefix=/usr --libdir=/usr/lib64 --mandir=/usr/man --infodir=/usr/info --enable-shared --enable-bootstrap --enable-languages=ada,c,c++,fortran,go,java,lto,objc --enable-threads=posix --enable-checking=release --enable-objc-gc --with-system-zlib --with-python-dir=/lib64/python2.7/site-packages --enable-libstdcxx-dual-abi --with-default-libstdcxx-abi=gcc4-compatible --disable-libunwind-exceptions --enable-__cxa_atexit --enable-libssp --enable-lto --disable-install-libiberty --with-gnu-ld --verbose --enable-java-home --with-java-home=/usr/lib64/jvm/jre --with-jvm-root-dir=/usr/lib64/jvm --with-jvm-jar-dir=/usr/lib64/jvm/jvm-exports --with-arch-directory=amd64 --with-antlr-jar=/root/slackware64-current/source/d/gcc/antlr-runtime-3.4.jar --enable-java-awt=gtk --disable-gtktest --disable-multilib --target=x86_64-slackware-linux --build=x86_64-slackware-linux --host=x86_64-slackware-linux
Starting at line 75( or so ) in the SBo 14.1 NetworkManager-openvpn script, a few Varbs are set prior to invoking ./configure ...

Maybe an additional config varb ( or two ) are necessary for your particular set of installed apps so that configure can find the gio.h file ( maybe CPPFLAGS for one ) ?

I've got a slightly outdated 'pure' Slackware Current64 VM that I have been meaning to update to RC2.

I'll try the SlackBuild on the pure-D Slackware Current Box after I do the updates and let you know.

-- kjh
 
1 members found this post helpful.
Old 04-27-2016, 04:11 AM   #30
pchristy
Senior Member
 
Registered: Oct 2012
Location: South Devon, UK
Distribution: Slackware
Posts: 1,107

Rep: Reputation: Disabled
KJH: FOUND IT! Thanks to your clever formatting of the config log differences!

If you look at the first two lines compared, you will notice that mine has --without-gnome tacked on the end! IIRC, I had to add that to get the 1.0.X versions to build without Gnome being present - even though GTK was. However, in version 1.2.X it seems to entirely disable the searches for the GTK libraries. As soon as I removed that line from the slackbuild configuration, it built perfectly!

I knew it had to be something stupid!

Many thanks to all - especially KJH - for your help!

--
Pete
 
2 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless network connects and works fine, but doesnt show up on the network manager newbie236 Linux - Newbie 1 07-07-2010 12:47 AM
[SOLVED] How do I switch the network manager from YAST back to the default network manager? skykooler SUSE / openSUSE 7 03-09-2010 06:28 PM
Debian 5.0 Network-Manager interfers with vnet0 bridging to eth0 for virt-manager coolphive Debian 5 05-29-2009 02:02 PM
Debian 5.0 Network-Manager interfers with vnet0 bridging to eth0 for virt-manager coolphive Linux - Newbie 2 05-28-2009 08:51 AM
Unable to connect to wifi network with network manager. Poss authorization issue openSauce Linux - Networking 14 12-13-2008 10:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration