After upgrading apache to the latest patch (ftp://ftp.slackware.com/pub/slackware/slackware-13.37/patches/packages/) you get that error: "/usr/sbin/httpd: symbol lookup error: /usr/sbin/httpd: undefined symbol: apr_reslist_maintain" when starting httpd / apache.
In order to resolve it you have to update apr (Apache Portable Runtime, makes sense, huh? ;)) and apr-util to the latest patched versions (get them here ftp://ftp.slackware.com/pub/slackware/slackware-13.37/patches/packages/).
Posts mit dem Label Slackware werden angezeigt. Alle Posts anzeigen
Posts mit dem Label Slackware werden angezeigt. Alle Posts anzeigen
Montag, 22. Oktober 2012
Donnerstag, 18. Oktober 2012
"QGtkStyle was unable to detect the current GTK+ theme." [SOLVED]
Finally found the solution:
gconftool-2 --set --type string /desktop/gnome/interface/gtk_theme your-theme-name
Source: https://bbs.archlinux.org/viewtopic.php?pid=1067521
Source: http://forums.opensuse.org/english/get-technical-help-here/network-internet/455664-errors.html
gconftool-2 --set --type string /desktop/gnome/interface/gtk_theme your-theme-name
Source: https://bbs.archlinux.org/viewtopic.php?pid=1067521
Source: http://forums.opensuse.org/english/get-technical-help-here/network-internet/455664-errors.html
Dienstag, 25. September 2012
Show single image with xlock
Took me a while to figure out how to simply show an image when locking with xlock:
$ xlock -mode image -bitmap image.xpm -count 1
-mode image: sets the mode to only display random sun images
-bitmap image.xpm: replace the random sun images with image.xpm (*)
-count 1: sets the amount of images that shall be shown at the screen at once to 1
* use ImageMagicks 'convert' method to convert to xpm: $ convert input.jpg output.xpm
Have fun!
$ xlock -mode image -bitmap image.xpm -count 1
-mode image: sets the mode to only display random sun images
-bitmap image.xpm: replace the random sun images with image.xpm (*)
-count 1: sets the amount of images that shall be shown at the screen at once to 1
* use ImageMagicks 'convert' method to convert to xpm: $ convert input.jpg output.xpm
Have fun!
Mittwoch, 4. Juli 2012
x121e Cardreader (rtl_pstor) - Kernel 3.4.4 menuconfig
Took me a while to figure out where the driver for my cardreader resides. In menuconfig go this path:
Device Drivers -> Staging drivers
and check this one, either as module or builtin:
RealTek PCI-E Card Reader support
Device Drivers -> Staging drivers
and check this one, either as module or builtin:
RealTek PCI-E Card Reader support
Labels:
3.4.4,
cardreader,
kernel,
Linux,
menuconfig,
rtl_pstor,
Slackware
Montag, 18. Juni 2012
No longer Skype beta on Linux - Skype 4.0!
Skype 4.0 has been released.
Of course, there's no Slackware-Package available from the Skype homepage. (Who knew? ;))
If you want to upgrade to Skype 4.0 today, you can use this Source-Package:
http://download.skype.com/linux/skype-4.0.0.7.tar.bz2
and build it by using this SlackBuild:
https://github.com/willysr/SlackHacks/tree/master/SlackBuild
The SlackBuild script linked above has also been submitted to slackbuilds.org, but currently it's in the pending queue (and I've seen script in the pending queue for about two months, so don't count on that :)).
NOTE: If you're on a 64 bit Slackware you need to add 32 bit librarys. See this page for further information: http://www.linuxquestions.org/questions/slackware-14/skype-4-0-on-slackware-13-37-64bit-4175411533/
Have fun... well, you have fun, I mean, you're using Slackware. :)
Edit: Ahh, finally there's a fresh, warm, approved Slackbuild available.
Of course, there's no Slackware-Package available from the Skype homepage. (Who knew? ;))
If you want to upgrade to Skype 4.0 today, you can use this Source-Package:
http://download.skype.com/linux/skype-4.0.0.7.tar.bz2
and build it by using this SlackBuild:
https://github.com/willysr/SlackHacks/tree/master/SlackBuild
The SlackBuild script linked above has also been submitted to slackbuilds.org, but currently it's in the pending queue (and I've seen script in the pending queue for about two months, so don't count on that :)).
NOTE: If you're on a 64 bit Slackware you need to add 32 bit librarys. See this page for further information: http://www.linuxquestions.org/questions/slackware-14/skype-4-0-on-slackware-13-37-64bit-4175411533/
Have fun... well, you have fun, I mean, you're using Slackware. :)
Edit: Ahh, finally there's a fresh, warm, approved Slackbuild available.
Samstag, 21. Januar 2012
wicd-gtk / wicd-client (tray) not starting, glib.GError: Unable to connect to server
Start wicd-client with '-n' - disable notifications and everything is fine. See source below if you want to use notifiations:
Source: https://bbs.archlinux.org/viewtopic.php?id=108666
Source: https://bbs.archlinux.org/viewtopic.php?id=108666
Freitag, 13. Januar 2012
Headphonejack not working on x121 w. Slackware 13.37 - Kernel 2.6.37-6
Use alsaconf to create config file. Edit the created config file /etc/modprobe.d/sound.conf , add the following line:
options snd-hda-intel model=thinkpad
Save and either reload modules or reboot.
options snd-hda-intel model=thinkpad
Save and either reload modules or reboot.
Mittwoch, 28. Dezember 2011
Install xfce4-power-manager Slackware 13.37 - shows no Battery status
http://goodies.xfce.org/projects/applications/xfce4-power-manager needs upower (http://slackbuilds.org/repository/13.37/system/upower/) - install upower, restart power-manager and battery state is fine.
Sonntag, 11. Dezember 2011
Slackware local shutdown script (to wipe out /tmp etc.)
Doesn't exist, but according to rc.local it's ok to create & use it :)
/etc/rc.d/rc.local_shutdown
/etc/rc.d/rc.local_shutdown
Chrome 15 from Slackbuild.org
Install libevent:
http://slackbuilds.org/repository/13.37/libraries/libevent/
then chromium:
http://slackbuilds.org/repository/13.37/network/chromium/
http://slackbuilds.org/repository/13.37/libraries/libevent/
then chromium:
http://slackbuilds.org/repository/13.37/network/chromium/
Customize XFCE4 Menu
http://wiki.xfce.org/howto/customize-menu
Desktop files are located here: /usr/local/share/applications | /usr/share/applications/
Desktop files are located here: /usr/local/share/applications | /usr/share/applications/
Samstag, 19. November 2011
Automated slackware package creation from given sourcefile
Slackware packages are a great (the only good way) to keep track of the installed software on (and to cleanly remove installed software from) your slackware machine.
Most packages that you can find in the www (slackbuilds.org, http://packages.slackware.it, ...) are outdated. You know that: Looking at slackbuilds.org for a tool, then looking at the version number and see that there's a source on the builders homepage that's x major and y minor releases further.
I, personally, hate to install 'old' software. I want the newest. So I have to built from source - make, ./configure --flags, make install to a DESTDIR, cp docs, change rights and makepkg at the end.
This sucks. To learn a bit about writing shellscripts I started to write a shellscript that does the job (yes, I know about pkgbuild). Currently it's able to:
NOTE: I don't make any warranties that my script will work for you or won't fuck up your machine.
NOTE: I don't make any warranties that my script will work for you or won't fuck up your machine.
Most packages that you can find in the www (slackbuilds.org, http://packages.slackware.it, ...) are outdated. You know that: Looking at slackbuilds.org for a tool, then looking at the version number and see that there's a source on the builders homepage that's x major and y minor releases further.
I, personally, hate to install 'old' software. I want the newest. So I have to built from source - make, ./configure --flags, make install to a DESTDIR, cp docs, change rights and makepkg at the end.
This sucks. To learn a bit about writing shellscripts I started to write a shellscript that does the job (yes, I know about pkgbuild). Currently it's able to:
- remove old sources
- remove old package
- extract the source package (tar.gz / tar.bz2)
- copy a given layout file (supported by apache httpd for instance)
- make install to DESTDIR
- create documentation directory
- copy documentation files (like README, INSTALL, AUTHORS...)
- chown root.root DESTDIR
- build package with makepkg
- echo build time
- remove sources after successful build
- remove installation from DESTDIR after successful build
- automatically search SRCDIR for documentation and copy it
- really important: create slack_desc for created package
- really important: output last 5 rows if build fails
- really important: check for $DESTDIR support
- make it much cleaner
- less params
NOTE: I don't make any warranties that my script will work for you or won't fuck up your machine.
NOTE: I don't make any warranties that my script will work for you or won't fuck up your machine.
Labels:
automated build,
build,
buildfile,
package,
packages,
Shellscript,
Slackware,
source,
tgz
Abonnieren
Posts (Atom)