BenV's notes

Tag: configure

MPD v0.17

by on Aug.01, 2012, under Software

Yay, a new version of MPD!
For those of you who are stupid and dumb, MPD stands for Music Player Daemon. At home I run it on my server to provide music to my house. (continue reading…)

1 Comment :, , more...

Blast! It’s Boost! (Slackware64 and Deluge / libtorrent-rasterbar)

by on Aug.29, 2010, under Software

Obviously I didn’t mention this issue enough yet since google didn’t return my blog for this issue as well as I’d like.

Today’s task with a problem: upgrading to Deluge 1.3.0-rc2 from rc1. Just for reference, I ran into this problem before. Since we’re upgrading Deluge, I’m upgrading the torrent library first. The latest version seems to be libtorrent-rasterbar version 0.15.2.
The problem:

benv@machine:~/libtorrent-rasterbar-0.15.2$ ./configure --prefix=/usr # And some more options, but nothing with boost
# Some configure junk and then:

Checking for boost libraries:
checking for boostlib >= 1.36... yes
checking whether the Boost::System library is available... yes
configure: error: Boost.System library not found. Try using --with-boost-system=lib

… don’t you just hate it when your computer hints you to try something trivial? (continue reading…)

6 Comments :, , , , , more...

C compiler cannot create executables

by on Oct.26, 2009, under Software

Yeah, I bet you didn’t know that. You’re so stupid. (continue reading…)

Leave a Comment :, , more...

Pulseaudio, slackware and udev

by on Sep.11, 2009, under Software

Yesterday I found a release notice in the pulseaudio mailinglist announcing version 0.9.16.
Today, I found another release note in the mailinglist that announced pulseaudio version 0.9.17. Gee, another fuckup? (but that’s part of the release process I guess ;))

Anyway, I decided to upgrade my 0.9.15 installation since it still glitches every now and then. (continue reading…)

Leave a Comment :, , , , more...

Boost, qBitTorrent and lib64

by on Sep.05, 2009, under Morons, Software

After toying around a bit on the news sites I decided it would be interesting to see if qBitTorrent would run on slackware 64.
So we go to the download site, copy the url, and see if Slackbuild likes it. Slackbuild leeches, untars, gives the configure options (which are a bit buggy, I know, will be fixed next release), runs configure. Configure crashes out with “blabla boost blabla”. (continue reading…)

2 Comments :, , , , more...

configure/autoconf and paths

by on Aug.21, 2009, under Software

Of course you’re already thrilled by my slackbuild.pl script, but this one thing keeps popping up.
How do I get configure to get my system paths right without giving it a line that’s 2389472389 arguments long?
Simple, install a site config.
A what?!

It’s a tiny little shell script that takes the configure options and barfs out some prefixes and stuff based on the options presented to it.
So when I tell it prefix=/usr, it will decide that sysconfdir=/etc instead of sysconfdir=/usr/etc.

You can get my my version here:
[Download not found]

Now the important tidbit. In order for configure to automagically use this script, you wil need to set the environment variable CONFIG_SITE.
Personally I do this through a profile file. Download the config.site script, put it in /etc and put the profile file in /etc/profile.d. Logout/login, done.
Oh, here’s the profile file:
[Download not found]

Now if everything worked out allright, running configure should start with something like this:

benv@janeman:/usr/src/coolprogram-1.0$ ./configure
configure: loading site script /etc/config.site
prefix=/usr
sysconfdir=/etc
bindir=/usr/bin
sbindir=/usr/sbin
includedir=/usr/include
libdir=/usr/lib64
libexecdir=/usr/libexec
datadir=/usr/share
mandir=/usr/share/man
infodir=/usr/share/info
localstatedir=/var
sharedstatedir=/var/cache
lispdir=/usr/share/emacs/site-lisp

Wonderful isn’t it? 🙂

Leave a Comment :, , , more...

Archives

  • 2018 (1)
  • 2016 (1)
  • 2015 (7)
  • 2014 (4)
  • 2013 (11)
  • 2012 (27)
  • 2011 (26)
  • 2010 (25)
  • 2009 (68)