LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-31-2007, 01:54 PM   #1
slothpuck
Member
 
Registered: Jul 2003
Distribution: Slackware 10.2 / Slamd 64
Posts: 86

Rep: Reputation: 15
List of instructions on howto install XFCE4.4 on Slamd64


Hello,

I've been trying to install XFCE4.4 on a 64-bit version of slackware linux called Slamd64. Unfortunatly, there are no pacakges in existance for all the various dependencies of XFCE4.4 on Slamd64, so they need to be compiled by source. While I can compile ok (in the sense I don't get any errors) some things will *not* work, in particular getting hal/messagebus to automount a cd-rom drive.

Having said that XFCE4.4 *will* run with the following procedure, this is what I tried and it seemed to run.

For this, I'll assume a normal "default" of slamd64.

Note1: Make sure you install the libjpeg library and python!
Note2: Some of this has, most noticbly the scripts came from CBLFS.

To do this, you'll need to download the following files (found elsewhere on the 'net, for example in freedesktop.org);

* libICE-1.0.3
* libSM-1.0.2
* xproto-7.0.10
* xtrans-1.0.3
* vte-0.15.0
* Linux-pam-0.99.7.1
* gnutls-1.6.1
* libprelude-0.9.12.2
* Linux-pam-0.99.7.1
* policykit
( git clone git://anongit.freedesktop.org/git/PolicyKit )
* docbook-xsl-1.71.0
* docbook-xml-4.4
* xmlto-0.0.18
* dbus-1.0.2
* dbus-glib-0.72
* hal-0.5.8.1
* URI-1.35
* blfs-bootscripts (http://lfs.osuosl.org/blfs/downloads...060910.tar.bz2)

Note that the best way since these files will often be .tar.gz'd is to decompress each one in its own directory.

And it begins

1. Compile xtrans-1.0.3;
./configure --prefix=/usr --libdir=/usr/lib64
make
make install

2. Compile xproto-7.0.10;
./configure --prefix=/usr --libdir=/usr/lib64
make
make install

3. Compile libICE-1.0.3;
./configure --prefix=/usr --libdir=/usr/lib64
make
make install

4. Compile libSM-1.0.2
./configure --prefix=/usr --libdir=/usr/lib64
make
make install

5. Compile vte-0.15.0
./configure --prefix=/usr --libdir=/usr/lib64
make
make install

6. Compile gnutls-1.6.1
./configure --prefix=/usr --libdir=/usr/lib64
make
make install

7. Compile libprelude-0.9.12.2
./configure --prefix=/usr --libdir=/usr/lib64
make
make install

8. Compile linux-pam-0.99.7.1
./configure --prefix=/usr --libdir=/usr/lib64
make
make install

9. Install docbook-xsl-1.71.0;
install -v -m755 -d /usr/share/xml/docbook/xsl-stylesheets-1.71.0

cp -v -R VERSION common eclipse extensions fo highlighting html htmlhelp images javahelp lib manpages params profiling slides template website xhtml /usr/share/xml/docbook/xsl-stylesheets-1.71.0

10. Install docbook-xml-4.4;
install -v -d -m755 /usr/share/xml/docbook/xml-dtd-4.4
install -v -d -m755 /etc/xml
chown -R root:root .
cp -v -af docbook.cat *.dtd ent/ *.mod /usr/share/xml/docbook/xml-dtd-4.4

Then run these 3 scripts:
script1:
Code:
if [ ! -e /etc/xml/docbook ]; then
    xmlcatalog --noout --create /etc/xml/docbook
fi &&
xmlcatalog --noout --add "public" \
    "-//OASIS//DTD DocBook XML V4.4//EN" \
    "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" \
    /etc/xml/docbook &&
xmlcatalog --noout --add "public" \
    "-//OASIS//DTD DocBook XML CALS Table Model V4.4//EN" \
    "file:///usr/share/xml/docbook/xml-dtd-4.4/calstblx.dtd" \
    /etc/xml/docbook &&
xmlcatalog --noout --add "public" \
    "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
    "file:///usr/share/xml/docbook/xml-dtd-4.4/soextblx.dtd" \
    /etc/xml/docbook &&
xmlcatalog --noout --add "public" \
    "-//OASIS//ELEMENTS DocBook XML Information Pool V4.4//EN" \
    "file:///usr/share/xml/docbook/xml-dtd-4.4/dbpoolx.mod" \
    /etc/xml/docbook &&
xmlcatalog --noout --add "public" \
    "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.4//EN" \
    "file:///usr/share/xml/docbook/xml-dtd-4.4/dbhierx.mod" \
    /etc/xml/docbook &&
xmlcatalog --noout --add "public" \
    "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.4//EN" \
    "file:///usr/share/xml/docbook/xml-dtd-4.4/htmltblx.mod" \
    /etc/xml/docbook
xmlcatalog --noout --add "public" \
    "-//OASIS//ENTITIES DocBook XML Notations V4.4//EN" \
    "file:///usr/share/xml/docbook/xml-dtd-4.4/dbnotnx.mod" \
    /etc/xml/docbook &&
xmlcatalog --noout --add "public" \
    "-//OASIS//ENTITIES DocBook XML Character Entities V4.4//EN" \
    "file:///usr/share/xml/docbook/xml-dtd-4.4/dbcentx.mod" \
    /etc/xml/docbook &&
xmlcatalog --noout --add "public" \
    "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.4//EN" \
    "file:///usr/share/xml/docbook/xml-dtd-4.4/dbgenent.mod" \
    /etc/xml/docbook &&
xmlcatalog --noout --add "rewriteSystem" \
    "http://www.oasis-open.org/docbook/xml/4.4" \
    "file:///usr/share/xml/docbook/xml-dtd-4.4" \
    /etc/xml/docbook &&
xmlcatalog --noout --add "rewriteURI" \
    "http://www.oasis-open.org/docbook/xml/4.4" \
    "file:///usr/share/xml/docbook/xml-dtd-4.4" \
    /etc/xml/docbook
script2;
Code:
if [ ! -e /etc/xml/catalog ]; then
    xmlcatalog --noout --create /etc/xml/catalog
fi &&
xmlcatalog --noout --add "delegatePublic" \
    "-//OASIS//ENTITIES DocBook XML" \
    "file:///etc/xml/docbook" \
    /etc/xml/catalog &&
xmlcatalog --noout --add "delegatePublic" \
    "-//OASIS//DTD DocBook XML" \
    "file:///etc/xml/docbook" \
    /etc/xml/catalog &&
xmlcatalog --noout --add "delegateSystem" \
    "http://www.oasis-open.org/docbook/" \
    "file:///etc/xml/docbook" \
    /etc/xml/catalog &&
xmlcatalog --noout --add "delegateURI" \
    "http://www.oasis-open.org/docbook/" \
    "file:///etc/xml/docbook" \
    /etc/xml/catalog
script3;
Code:
for DTDVERSION in 4.1.2 4.2 4.3
do
  xmlcatalog --noout --add "public" \
    "-//OASIS//DTD DocBook XML V$DTDVERSION//EN" \
    "http://www.oasis-open.org/docbook/xml/$DTDVERSION/docbookx.dtd" \
    /etc/xml/docbook
  xmlcatalog --noout --add "rewriteSystem" \
    "http://www.oasis-open.org/docbook/xml/$DTDVERSION" \
    "file:///usr/share/xml/docbook/xml-dtd-4.4" \
    /etc/xml/docbook
  xmlcatalog --noout --add "rewriteURI" \
    "http://www.oasis-open.org/docbook/xml/$DTDVERSION" \
    "file:///usr/share/xml/docbook/xml-dtd-4.4" \
    /etc/xml/docbook
  xmlcatalog --noout --add "delegateSystem" \
    "http://www.oasis-open.org/docbook/xml/$DTDVERSION/" \
    "file:///etc/xml/docbook" \
    /etc/xml/catalog
  xmlcatalog --noout --add "delegateURI" \
    "http://www.oasis-open.org/docbook/xml/$DTDVERSION/" \
    "file:///etc/xml/docbook" \
    /etc/xml/catalog
done
11. Compile xmlto-0.0.18;
./configure --prefix=/usr --libdir=/usr/lib64
make
make install

12. dbus-1.0.2 -- add group and user;
groupadd -g 28 messagebus
useradd -c "D-BUS Message Daemon User" -d /dev/null -u 28 -g messagebus -s /bin/false messagebus

Then compile with ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib64
make
make install
install -v -m755 -d /usr/share/doc/dbus-1.0.2
install -v -m644 doc/{TODO,*.{dtd,xml,xsl,txt,c}} /usr/share/doc/dbus-1.0.2
dbus-uuidgen --ensure


13. Compile dbus-glib-0.72;
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib64
make
make install

14. Add group & user for policykit;
groupadd -g 26 polkit
useradd -c "Policy Kit Daemon User" -d /dev/null -u 26 -g polkit -s /bin/false polkit
./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib64
make
make install

Then run these 3 scripts;
script1;
Code:
cat > /etc/rc.d/init.d/polkitd << "EOF"
#!/bin/sh
# Begin $rc_base/init.d/polkitd

. /etc/sysconfig/rc
. ${rc_functions}

case "${1}" in
        start)
                boot_mesg "Starting PolicyKit..."
                loadproc /usr/sbin/polkitd
                ;;

        stop)
                boot_mesg "Stopping PolicyKit..."
                killproc /usr/sbin/polkitd
                ;;

        restart)
                ${0} stop
                sleep 1
                ${0} start
                ;;

        status)
                statusproc /usr/sbin/polkitd
                ;;

        *)
                echo "Usage: ${0} {start|stop|restart|status}"
                exit 1
                ;;
esac

# End $rc_base/init.d/polkitd
EOF
chmod -v 754 /etc/rc.d/init.d/polkitd
script2;
Code:
for link in /etc/rc.d/rc{{0,1,6}.d/K29,{2,3,4,5}.d/S20}polkitd; do
  ln -sfv ../init.d/polkitd $link;
done
script3;
Code:
sed -i "s/^Allow=.*/Allow=gid:users/" /etc/PolicyKit/privilege.d/desktop-console.privilege
15. Add group & user for hal-0.5.8.1
groupadd -g 23 haldaemon
useradd -c "HAL Daemon User" -d /dev/null -u 23 -g haldaemon -s /bin/false haldaemon

Then compile with:
./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/hal --localstatedir=/var --libdir=/usr/lib64
make
make install
install -v -m755 -d /var/run/hald

16. Download the blfs-bootscripts, decompress and type "make install-haldaemon".

17. Install the Perl modules URI-1.35 ( http://search.cpan.org/~gaas/URI-1.35/);
perl Makefile.PL
make
make test
make install

18. Now use a softlink for the jpeg library in /usr/local/lib, i.e.
ln -s /usr/lib/libjpeg62.0.0 /usr/local/lib/libjpeg.so

19. Download Thunar-0.8.0-installer.run from XFCE4.4's website and run it.

20. Download Thunar-Bundle-0.8.0-installer.run from XFCE4.4's website and run it.

21. Make a softlink from /usr/lib64 to /usr/local/lib for file libSM.so, i.e.
ln -s /usr/lib64/libSM.so /usr/local/lib/libSM.so

22. Download xfce-4.4.4.0-installer.run and run it.

23. Download xfce-goodies-4.4.0-installer.run and run it.

24. You'll need rc.messagebus and rc.hal -- these two scripts need to go into /etc/rc.d;

rc.hal
Code:
#!/bin/sh
#
# Slackware startup script for HAL
# Written by Ken Zalewski <kennyz@nycap.rr.com> on 2 September 2006
# Last revision on 5 September 2006
#

# Who to run the server as, usually "haldaemon".
PUSER=haldaemon
PEXEC=/usr/sbin/hald
PIDFILE=/var/run/hald/pid

check_env() {
  # Confirm that the HAL daemon executable can be found.
  if [ ! -x $PEXEC ]; then
    echo "Error: HAL is not installed correctly" >&2
    exit 1
  fi
  
  # Confirm that we are using a 2.6 kernel.
  kver=`/sbin/kernelversion`
  case "$kver" in
    2.[6789]) ;;
    *) echo "Error: Kernel 2.6 is required in order to run HAL." >&2; exit 1 ;;
  esac

  # Confirm that the "haldaemon" user and group exist.
  grep -q "^$PUSER:" /etc/group || groupadd $PUSER || exit 1
  grep -q "^$PUSER:" /etc/passwd || useradd -c "HAL Daemon" -d /etc/hal -g $PUSER $PUSER || exit 1
}

start() {
  check_env
  if [ -r $PIDFILE ]; then
    if kill -0 `cat $PIDFILE` 2>/dev/null; then
      echo "HAL daemon is already running"
      exit 0
    else
      rm -f $PIDFILE
    fi
  fi

  echo -n "Starting HAL daemon: "
  $PEXEC --daemon=yes && echo ok || echo failed
}

stop() {
  echo -n "Stopping HAL daemon: "
  if [ -r $PIDFILE ]; then
    kill `cat $PIDFILE` && echo "ok" || echo "not running"
    rm -f $PIDFILE
  else
    killall $PEXEC 2>/dev/null && echo "ok" || echo "not running"
  fi
}

restart() {
  stop
  start
}

status() {
  echo "Status not implemented"
}


# Parse command line parameters.
case $1 in
  start)
	start
	;;
  stop)
	stop
	;;
  restart|reload)
	restart
	;;
  status)
	status
	;;
  *)
	# Print help
	echo "Usage: $0 {start|stop|restart|reload|status}" 1>&2
	exit 1
	;;
esac

exit 0
rc.messagebus
Code:
#!/bin/sh
#
# messagebus:   The D-BUS systemwide message bus
#
# chkconfig: 345 97 03
# description:  This is a daemon which broadcasts notifications of system events \
#               and other messages. See http://www.freedesktop.org/software/dbus/
#
# processname: dbus-daemon
# pidfile: /var/run/dbus/pid
#

# Sanity checks.
#[ -x /usr/bin/dbus-daemon ] || exit 0

# Source function library.
#. /etc/rc.d/init.d/functions

# so we can rearrange this easily
#processname=dbus-daemon
#servicename=messagebus

#RETVAL=0

start() {
    echo "Starting system message bus"
    if [ -x /usr/bin/dbus-daemon ];then
    	/usr/bin/dbus-daemon --system
    fi
    #daemon --check $servicename $processname --system
    #RETVAL=$?
    #echo
    #[ $RETVAL -eq 0 ] && touch /var/lock/subsys/$servicename
}

stop() {
    echo "Stopping system message bus"

    ## we don't want to kill all the per-user $processname, we want
    ## to use the pid file *only*; because we use the fake nonexistent 
    ## program name "$servicename" that should be safe-ish
    killall dbus-daemon
    #RETVAL=$?
    #echo
    #if [ $RETVAL -eq 0 ]; then
    #    rm -f /var/lock/subsys/$servicename
    #    rm -f /var/run/dbus/pid
    #fi
}

# See how we were called.
case "$1" in
    start)
        start
        ;;
    stop)
        stop
        ;;
    status)
        status $processname
        RETVAL=$?
        ;;
    restart)
        stop
        start
        ;;
    reload)
        echo "Message bus can't reload its configuration, you have to restart it"
        RETVAL=$?
        ;;
    *)
        echo $"Usage: $0 {start|stop|status|restart|reload}"
        ;;
esac
exit $RETVAL
23. Put the following into rc.local (found in /etc/rc.d);
Code:
 /usr/sbin/polkitd
 rm /var/run/dbus/pid
 ./etc/rc.d/rc.messagebus start
 ./etc/rc.d/rc.hal start
24. In /etc/PolicyKit/privilege.d change "allow=" to "allow=gid:users" in these files;

desktop-console.privilege
hal-storage-fixed-mount-all-options.privilege
hal-storage-fixed-mount.privilege
hal-storage-removable-mount-all-options.privilege
hal-storage-removable-mount.privilege

25. CD to /media, and chmod 0777 *

26. Restart the PC.

27. Log back into slackware as non root, but log in as root and run "polkitd". Then go back to non-root, and run XFCE4.4 with startxfce4.

Bad points:

A) CD-ROM drive mounting dosen't seem to work at all, I do not know how to configure hal,dbus,policykit, etc.


Hopefully that should be it and at the very least XFCE4.4 should be working in Slamd64 (64-Bit slackware 11).


ljones

Last edited by slothpuck; 01-31-2007 at 01:59 PM.
 
Old 02-01-2007, 09:19 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Some points...

The instructions in CBLFS presume that you are working with a system built using the CLFS instructions. Make sure you understand the differences between a CLFS and a Slamd64 system. Further, the CBLFS non-multilib and multilib instructions presume you used the non-multilib (pure 32- or pure 64-bit) and multilib CLFS book respectively.

*/lib64 is only needed on multilib PPC64, s390x, sparc64 and AMD64 systems. If you have a pure 64-bit system or a multilib IA64, you don't need to pass the --libdir switch since 64-bit libraries install to */lib. Check your system's layout to confirm, but if you follow the CBLFS instructions, use the Non-Multilib instructions for a pure 64-bit system.

The first four libraries are provided by X Windows and you probably don't need to re-install them. The symlinks to libjpeg and libSM shouldn't be needed. Setting the appropriate environment variables would be a better approach. I'm guessing you forgot to add /usr/lib64 to /etc/ld.so.conf and update the cache.

The first four packages are provided by X Windows and probably already exist in /usr/X11R6. This assumes that you are adhering to the FHS. You may be missing the "development" files, however. That said, if you re-install them, the prefix should be /usr/X11R6. You now have part of your X11 in /usr/X11R6 and part in /usr. It may not cause problems, but it's sloppy.

You will also need git to checkout a copy of PolicyKit unless PolicyKit has been released since the CBLFS instructions were written.

You don't need to restart the PC ins step 26, just restart the X server. You don't need to start the PolicyKit daemon if you reboot and have created a polekit init script. The init script is a good idea otherwise you'll need to start PolicyKit every time you reboot.

The GID used above for HAL, PolicyKit, and D-BUS are the ones used in CBLFS. They may or may not be appropriate depending on existing GID on you system.

If you use the XFCE-Installer, you won't get the patch that allows transparent panels. If you're going to install all that other stuff by hand, why not XFCE too? CBLFS has instructions for XFCE and, trust me, XFCE doesn't take nearly as long as GNOME.

Finally, CD-ROM mounting does work.
 
Old 02-01-2007, 04:02 PM   #3
slothpuck
Member
 
Registered: Jul 2003
Distribution: Slackware 10.2 / Slamd 64
Posts: 86

Original Poster
Rep: Reputation: 15
Some intresting points thanks there in fact I've decided to go right back to square one and restart what I did. This time though I've not compiled the libs for libSM (though you're right: I don't have any development packages for these but I've been unable to find them), just the other ones such as dbus, policykit, etc. I believe my system is a multilib system, as I have /lib, /lib64, /usr/lib and /usr/lib64 on my system. It is indeed a AMD64 system.

I also decided to get the latest version of HAL, but it plain blank refuses to compile. Right now, I get this;

Code:
bash-3.1# ./autogen.sh
**Warning**: I am going to run configure' with no arguments.
If you wish to pass any to it, please specify them on the
./autogen.sh' command line.

Running libtoolize...
Running aclocal  ...
/usr/share/aclocal/xmms.m4:17: warning: underquoted definition of
XMMS_TEST_VERSION
  run info '(automake)Extending aclocal'
    or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
    /usr/share/aclocal/xmms.m4:62: warning: underquoted definition of
AM_PATH_XMMS
/usr/share/aclocal/pth.m4:43: warning: underquoted definition of _AC_PTH_ERROR
/usr/share/aclocal/pth.m4:54: warning: underquoted definition of
_AC_PTH_VERBOSE
/usr/share/aclocal/pth.m4:60: warning: underquoted definition of AC_CHECK_PTH
/usr/share/aclocal/pilot-link.m4:1: warning: underquoted definition of
AC_PILOT_LINK_HOOK
/usr/share/aclocal/imlib.m4:9: warning: underquoted definition of
AM_PATH_IMLIB
/usr/share/aclocal/imlib.m4:167: warning: underquoted definition of
AM_PATH_GDK_IMLIB
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of
AM_PATH_GDK_PIXBUF
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of
AM_PATH_AUDIOFILE
/usr/share/aclocal/aalib.m4:12: warning: underquoted definition of
AM_PATH_AALIB
Running autoheader...
Running automake --gnu  ...
Running autoconf ...
Copying file mkinstalldirs
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
    progtest.m4
    from the /usr/share/aclocal directory to your autoconf macro directory
    or directly to your aclocal.m4 file.
    You will also need config.guess and config.sub, which you can get from
    ftp://ftp.gnu.org/pub/gnu/config/.
    
    ./autogen.sh: line 86: intltoolize: command not found
    bash-3.1# 
    
    
    
    bash-3.1# ./autogen.sh
    **Warning**: I am going to run configure' with no arguments.
    If you wish to pass any to it, please specify them on the
    ./autogen.sh' command line.
    
    Running libtoolize...
    Running aclocal  ...
    /usr/share/aclocal/xmms.m4:17: warning: underquoted definition of
XMMS_TEST_VERSION
  run info '(automake)Extending aclocal'
    or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
    /usr/share/aclocal/xmms.m4:62: warning: underquoted definition of
AM_PATH_XMMS
/usr/share/aclocal/pth.m4:43: warning: underquoted definition of _AC_PTH_ERROR
/usr/share/aclocal/pth.m4:54: warning: underquoted definition of
_AC_PTH_VERBOSE
/usr/share/aclocal/pth.m4:60: warning: underquoted definition of AC_CHECK_PTH
/usr/share/aclocal/pilot-link.m4:1: warning: underquoted definition of
AC_PILOT_LINK_HOOK
/usr/share/aclocal/imlib.m4:9: warning: underquoted definition of
AM_PATH_IMLIB
/usr/share/aclocal/imlib.m4:167: warning: underquoted definition of
AM_PATH_GDK_IMLIB
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of
AM_PATH_GDK_PIXBUF
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of
AM_PATH_AUDIOFILE
/usr/share/aclocal/aalib.m4:12: warning: underquoted definition of
AM_PATH_AALIB
Running autoheader...
Running automake --gnu  ...
Running autoconf ...
Copying file mkinstalldirs
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
    progtest.m4
    from the /usr/share/aclocal directory to your autoconf macro directory
    or directly to your aclocal.m4 file.
    You will also need config.guess and config.sub, which you can get from
    ftp://ftp.gnu.org/pub/gnu/config/.
    
    ./autogen.sh: line 86: intltoolize: command not found
    bash-3.1# 
    
    
    
    bash-3.1# ./autogen.sh
    **Warning**: I am going to run configure' with no arguments.
    If you wish to pass any to it, please specify them on the
    ./autogen.sh' command line.
    
    Running libtoolize...
    Running aclocal  ...
    /usr/share/aclocal/xmms.m4:17: warning: underquoted definition of
XMMS_TEST_VERSION
  run info '(automake)Extending aclocal'
    or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
    /usr/share/aclocal/xmms.m4:62: warning: underquoted definition of
AM_PATH_XMMS
/usr/share/aclocal/pth.m4:43: warning: underquoted definition of _AC_PTH_ERROR
/usr/share/aclocal/pth.m4:54: warning: underquoted definition of
_AC_PTH_VERBOSE
/usr/share/aclocal/pth.m4:60: warning: underquoted definition of AC_CHECK_PTH
/usr/share/aclocal/pilot-link.m4:1: warning: underquoted definition of
AC_PILOT_LINK_HOOK
/usr/share/aclocal/imlib.m4:9: warning: underquoted definition of
AM_PATH_IMLIB
/usr/share/aclocal/imlib.m4:167: warning: underquoted definition of
AM_PATH_GDK_IMLIB
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of
AM_PATH_GDK_PIXBUF
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of
AM_PATH_AUDIOFILE
/usr/share/aclocal/aalib.m4:12: warning: underquoted definition of
AM_PATH_AALIB
Running autoheader...
Running automake --gnu  ...
Running autoconf ...
Copying file mkinstalldirs
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
    progtest.m4
    from the /usr/share/aclocal directory to your autoconf macro directory
    or directly to your aclocal.m4 file.
    You will also need config.guess and config.sub, which you can get from
    ftp://ftp.gnu.org/pub/gnu/config/.
    
    ./autogen.sh: line 86: intltoolize: command not found
    bash-3.1#
I get the same messages even if I try ./autogen.sh --libdir=/usr/lib64 --prefix=/usr

I don't know about this x.x

SP

Last edited by slothpuck; 02-01-2007 at 04:05 PM.
 
Old 02-01-2007, 08:33 PM   #4
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Also, Your policykit startup script shouldn't work. {load,kill,status}proc are functions called from /etc/rc.d/init.d/functions. I could be wrong, but I don't think you'll find anything of the sort on slackware or slackware based systems. That's traditionally a SysVinit call. I'm pretty sure your instructions didn't include installing the LFS bootscripts...

Pulling verbatum from *LFS is a really bad idea unless your running an LFS variant, which Slamd is not...

Last edited by jong357; 02-01-2007 at 08:39 PM.
 
Old 02-02-2007, 09:43 AM   #5
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Quote:
Originally Posted by slothpuck
this time though I've not compiled the libs for libSM (though you're right: I don't have any development packages for these but I've been unable to find them)
These would be the packages typically suffixed with -dev or -devel. If you built libSM from the tarball, then you also installed the stuff that would be in the -dev/-devel package.

Quote:
Originally Posted by slothpuck
I believe my system is a multilib system, as I have /lib, /lib64, /usr/lib and /usr/lib64 on my system. It is indeed a AMD64 system.
I didn't know 'cause I don't use Slamd64. According the Slamd64 website, it's multilib.

Quote:
Originally Posted by slothpuck
I also decided to get the latest version of HAL, but it plain blank refuses to compile.
Looks like you checked out a copy of HAL from git. That's the latest version alright, but not the latest stable release. You might want to use HAL-0.5.8, not the development version unless you know what you're doing.

I would agree with jong357 that using CBLFS instructions on a non-CLFS system isn't a great idea unless you understand the differences and can adjust the instructions appropriately. Especially things like the bootscripts. The build instructions will work as written in general, but certainly not universally. It might be OK to look there for informational purposes such as patches, etc. But, even many of the patches are only needed if you have a base CLFS system and applying them elsewhere may break something.

Last edited by weibullguy; 02-02-2007 at 09:53 AM.
 
Old 02-02-2007, 12:36 PM   #6
slothpuck
Member
 
Registered: Jul 2003
Distribution: Slackware 10.2 / Slamd 64
Posts: 86

Original Poster
Rep: Reputation: 15
Thanks for the info there, and really I'm inclined to agree with you there - you're both right -- pinching the LFS instructions and trying to refit them to slackware is a bad idea. Snag is that I haven't been able to find any other instructions, esp. slackware specific instructions so really I don't have that much to go on. I understand webpages do have instructions, but sometimes they aren't specific, or solving dependencies without some form of fallack or help can be a real problem.

I'm not aware of any other slackware (slamd) specific instructions .... I guess the only other options are to wait for packages, or to give up?

Right now I've just finished getting HAL-0.5.8.tar.gz and trying to compile it but with errors (there's a problem in classdev.c).

SPb

Last edited by slothpuck; 02-02-2007 at 12:40 PM.
 
Old 02-02-2007, 01:59 PM   #7
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Quote:
Originally Posted by slothpuck
Right now I've just finished getting HAL-0.5.8.tar.gz and trying to compile it but with errors (there's a problem in classdev.c).
Start a new thread and maybe we can help you out.
 
Old 02-02-2007, 07:35 PM   #8
slothpuck
Member
 
Registered: Jul 2003
Distribution: Slackware 10.2 / Slamd 64
Posts: 86

Original Poster
Rep: Reputation: 15
Will do shortly, but just before I do -- I did turn up one site finally with some packages ( http://saxa.droplinegnome.org/x86_64/2.16/2.16.2/ ) this appears to have HAL & Dbus already as packages. I've tried those however and it made no difference, the cdrom remains ignored.

SP
 
Old 03-25-2009, 03:20 PM   #9
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,093

Rep: Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301
autogen.sh is part of a 'make your own config file' kit that should hardly be run directly if you have a Makefile.in. Get a Version with a Makefile and go for ./configure --help |less. Then guess. Find what it misses, and add it to the configure line

I've done LFS, BLFS, and HLFS in the past. The script stuff will not be too far out because slamd64 or slackware anyhow has symlinks that will allow them to work. Their patches, otoh, might be off the wall, as they use tweaks to make things compile on their system. Likewise their configure lines.

Watch yourself with Perl and CPAN. Some of the modules use /usr/lib/perl/<blah>/ and others use /usr/local/lib/perl/<blah>. Perl opnly checks one of them. I have found a symlink in /usr/local/lib and a mass copy usually gets you away with it. Just don't overwrite.


Where the hell did you get the polkit source? I am looking everywhere for it. I'm trying for network manager on slamd64 for my new notebook.
 
Old 03-25-2009, 10:31 PM   #10
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Quote:
Originally Posted by business_kid View Post
Where the hell did you get the polkit source?
http://hal.freedesktop.org/releases/
 
Old 03-27-2009, 02:36 PM   #11
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,093

Rep: Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301
Quote:
Originally Posted by jong357 View Post

Thank you kindly.


Now to solve our friwend's problems STOP BUILDING!!

I have put (the DVD of) slamd64-12.2 on my new HP 6715s laptop and XFCE IS there. You don't see it in the list to install - it's hidden in 'window managers' I think.

Try 'which xfce4-session'. I think you might have it, or you certainly can get it.

Now all I have to do is figure our wireless, acpi, etc. etc.
 
Old 03-28-2009, 12:10 PM   #12
piete
Member
 
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465

Rep: Reputation: 44
2 years too late for his liking, however I'm sure he's very grateful now
 
Old 03-28-2009, 12:57 PM   #13
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Yea... I was staying out of that one...
 
Old 03-29-2009, 02:58 AM   #14
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,093

Rep: Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301Reputation: 2301
Quote:
Originally Posted by piete View Post
2 years too late for his liking, however I'm sure he's very grateful now
£@$+!

That's me clicking too quick on google links. Cheers :-)
http://www.linuxquestions.org/questi...d.php?t=524447
 
  


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
HowTo list all users in system ALInux Linux - Newbie 27 04-17-2018 02:59 AM
Tried to install slamd64 10.2..but JavaDudeIL Linux - Newbie 4 02-01-2006 07:22 AM
HowTo List Newly Installed Program GNewbie MEPIS 2 11-23-2005 02:55 PM
Xfce4 not in DE list fabre Linux - Software 0 08-27-2005 12:10 AM
Howto list last changed files MicroSun Linux - Newbie 3 02-18-2005 05:52 PM

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

All times are GMT -5. The time now is 12:14 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