/sw/bin/gzip instead of /usr/bin/gzip

I did a Fink update today an now
which gzip
returns
/sw/bin/gzip instead of /usr/bin/gzip
I have no /sw/bin path set in my .bashrc nor in my .bash_profile. Why is there this /sw/bin in
echo $PATH
/sw/bin:/sw/sbin:/usr/bin:/usr/sbin:/usr/local/php5/bin:/usr/local/php5/man:/bin :/sbin:/usr/bin:/usr/local/bin:/usr/sbin:/usr/local/:/usr/local/bin:/usr/local/s bin:/Developer/Tools:/usr/local/share/man:/sw/share/man:/usr/local/mysql/bin:/us r/local/mysql/man:/usr/X11R6/bin
I want to use /usr/bin and not /sw/bin
What to do to change this?
several Macs   Mac OS X (10.4.3)   10.4.4

I didn't set the /sw/bin path in those config files. That's why I wonder how my system knows about /sw/bin.
my .bashrc:
LCALL=enUS.UTF-8
export LC_ALL
LANG=en_US.UTF-8
export LANG
PATH=/usr/local/php5/bin:/usr/local/php5/man:$PATH
PATH=/usr/local/:/usr/local/bin:/usr/local/sbin:/Developer/Tools:/usr/local/shar e/man:/sw/share/man:/usr/local/mysql/bin:/usr/local/mysql/man:$PATH
export PATH
my .bash_profile:
. .bashrc
alias ls='ls -vwG'
alias m2u="tr '\015' '\012'"
alias u2m="tr '\012' '\015'"
test -r /sw/bin/init.sh && . /sw/bin/init.sh
I want to type "gzip" and I want it to use "/usr/bin/gzip" and not "/sw/bin/gzip". How do I accomplish this? (Before I updated Fink today it worked as I want.)
several Macs   Mac OS X (10.4.3)  

Similar Messages

  • Cuyo binary goes with makepkg to /usr/games instead of /usr/bin

    Hi,
    I'm trying to write PKGBUILD for the game Cuyo. In the final package, the binary goes always to /usr/games instead of /usr/bin. I'm pretty new to this and I can't figure out, how to change it Can anyone tell me, or give an advice? Thanx
    -------------------------PKGBUILD-----------------------
    pkgname=cuyo
    pkgver=2.1.0beta1
    pkgrel=1
    pkgdesc="Cuyo is a Tetris-style puzzle game for up to two players with a twist"
    arch=(i686)
    url="http://www.karimmi.de/cuyo/"
    license=('GPL')
    groups=()
    depends=('sdl_mixer' 'sdl_image')
    makedepends=()
    provides=()
    conflicts=()
    replaces=()
    backup=()
    options=()
    install=
    source=(http://download.savannah.gnu.org/releases/cuyo/$pkgname-2.~-1.0~beta1.tar.gz)
    noextract=()
    md5sums=('2c49f8b2111be4bdd86163b2be4a9485')
    build() {
      cd "$startdir/src/$pkgname-2.~-1.0~beta1"
      ./configure --prefix=/usr
      make || return 1
      make DESTDIR="$startdir/pkg" install

    That helped me Now its looks like this:
    -------------------------PKGBUILD-----------------------
    pkgname=cuyo
    pkgver=2.1.0beta1
    pkgrel=1
    pkgdesc="Cuyo is a Tetris-style puzzle game for up to two players with a twist"
    arch=(i686)
    url="http://www.karimmi.de/cuyo/"
    license=('GPL')
    groups=()
    depends=('sdl_mixer' 'sdl_image')
    makedepends=()
    provides=()
    conflicts=()
    replaces=()
    backup=()
    options=()
    install=
    source=(http://download.savannah.gnu.org/releases/cuyo/$pkgname-2.~-1.0~beta1.tar.gz)
    noextract=()
    md5sums=('2c49f8b2111be4bdd86163b2be4a9485')
    build() {
      cd "$startdir/src/$pkgname-2.~-1.0~beta1"
      ./configure --prefix=/usr
      make || return 1
      make DESTDIR="$startdir/pkg" install
      mkdir $startdir/pkg/usr/bin
      mv $startdir/pkg/usr/games/$pkgname $startdir/pkg/usr/bin
      rm -r $startdir/pkg/usr/games
    Can someone more experienced in this please tell me, if it's right and clean way or not?
    Thanx anyway )

  • Install wine to /opt instead of /usr; needed PKGBUILD changes

    I have the latest wine installed via multilib with no modifications (installed simply by pacman -S wine). However, this wine does not work with a program I need to have. Wine 1.2 does, and luckily there is a wine-stable in the AUR that is in the 1.2 range. However, one other app I need only works with 1.3, so I have to have both.
    The wine-stable package is found here: http://aur.archlinux.org/packages.php?ID=35486
    What would I need to change in the PKGBUILD to get it to install wine to /opt instead of /usr? Taking a look, I think in this portion:
    msg2 "Building Wine..."
    cd "$srcdir/$pkgname_real-32-build"
    ../$pkgname_real/configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --with-x
    make
    I would need to change --prefix=/usr \   to --prefix=/opt \ and in this section:
    msg2 "Packaging Wine..."
    cd "$srcdir/$pkgname_real-32-build"
    make prefix="$pkgdir/usr" install
    mkdir -p "$pkgdir/etc/wine"
    I would need to change the make prefix to $pkgdir/opt
    Does this seem right or am I missing something?
    Last edited by GSF1200S (2011-09-01 15:28:00)

    Sounds about right, although normally in opt you'd have
    /opt/package_name/...
    I think you should also skip the sysconfdir bit.

  • ATOK installation: looking in /usr/lib instead of /usr/lib64

    I'm trying to install ATOK and having a bit of an issue. I'm getting issues about ELF class with the modules and can't quite figure out the problem.
    root /home/megini/Desktop/ATOKX3 # ./setupatok_tar.sh
    This software is furnished under an end user agreement and may be used
    or copied only in accordance with the terms of such license.
    If you accept the terms of the license agreement,Please select "Yes".
    If you do not accept the terms of the license agreement,Please select "No".
    ? (yes/no)yes
    Input path of gtk-query-immodules-2.0 for 64bit application:/usr/bin/gtk-query-immodules-2.0
    Input path of gtk.immodules for 64bit application:/etc/gtk-2.0/gtk.immodules
    tar xfz /home/megini/Desktop/ATOKX3/bin/tarball/IIIMF/iiimf-client-lib-trunk_r3104-js3.i386.tar.gz
    tar xfz /home/megini/Desktop/ATOKX3/bin/tarball/IIIMF/iiimf-gtk-trunk_r3104-js3.i386.tar.gz
    tar xfz /home/megini/Desktop/ATOKX3/bin/tarball/IIIMF/iiimf-protocol-lib-trunk_r3104-js3.i386.tar.gz
    tar xfz /home/megini/Desktop/ATOKX3/bin/tarball/IIIMF/iiimf-server-trunk_r3104-js3.i386.tar.gz
    tar xfz /home/megini/Desktop/ATOKX3/bin/tarball/IIIMF/iiimf-x-trunk_r3104-js3.i386.tar.gz
    tar xfz /home/megini/Desktop/ATOKX3/bin/tarball/IIIMF/iiimf-client-lib-64-trunk_r3104-js3.x86_64.tar.gz
    tar xfz /home/megini/Desktop/ATOKX3/bin/tarball/IIIMF/iiimf-gtk-64-trunk_r3104-js3.x86_64.tar.gz
    tar xfz /home/megini/Desktop/ATOKX3/bin/tarball/IIIMF/iiimf-protocol-lib-64-trunk_r3104-js3.x86_64.tar.gz
    "/etc/gtk-2.0/gtk.immodules" will be changed.
    Cannot load module /usr/lib/gtk-2.0/immodules/im-iiim.so: /usr/lib/gtk-2.0/immodules/im-iiim.so: wrong ELF class: ELFCLASS32
    /usr/lib/gtk-2.0/immodules/im-iiim.so does not export GTK+ IM module API: /usr/lib/gtk-2.0/immodules/im-iiim.so: wrong ELF class: ELFCLASS32
    "/etc/gtk-2.0/gtk.immodules" will be changed.
    Cannot load module /usr/lib/gtk-2.0/immodules/im-iiim.so: /usr/lib/gtk-2.0/immodules/im-iiim.so: wrong ELF class: ELFCLASS32
    /usr/lib/gtk-2.0/immodules/im-iiim.so does not export GTK+ IM module API: /usr/lib/gtk-2.0/immodules/im-iiim.so: wrong ELF class: ELFCLASS32
    tar xfz /home/megini/Desktop/ATOKX3/bin/tarball/ATOK/atokx-20.0-3.0.0.i386.tar.gz
    tar xfz /home/megini/Desktop/ATOKX3/bin/tarball/ATOK/atokx-64-20.0-3.0.0.x86_64.tar.gz
    Installation has been completed.
    OH! It's looking for modules in the wrong place. It's looking in /usr/lib/gtk-2.0/immodules but SHOULD be looking in /usr/lib64/gtk-2.0/immodules, right? But.... how can I rectify this?
    Last edited by violagirl23 (2008-11-14 14:59:40)

    Trying to copy&paste this post into emacs, the Xserver crashed.
    Connection lost and quite a lot of work.
    To be precise, I only copied the code window.
    Last edited by Hubi (2009-06-03 02:15:02)

  • [SOLVED] Error '/usr/lib64 exists' while installing adol-c

    I just tried to install adol-c from the AUR. At the end of the install I ran into this error message:
    error: failed to commit transaction (conflicting files)
    adol-c: /usr/lib64 exists in filesystem
    Errors occurred, no packages were upgraded.
    The install generated these errors earlier on:
    Prefix /usr not writable
    please run ./configure --prefix=DIR
    with a writable directory path otherwise administrator privileges
    will be required to run `make install'
    libtool: warning: remember to run 'libtool --finish /usr/lib64'
    Does this mean the adol-c package wanted to create /usr/lib64? That seems weird.
    (I used yaourt.)
    Last edited by khouli (2015-05-21 00:25:13)

    Ah, good to know. Yep, /usr/lib64 is a symlink to /usr/lib.
    Here's the snippet from the PKGBUILD that sets --prefix. It isn't actually naming /usr/lib64 explicitly.
    ./configure --enable-sparse --with-colpack=/usr --prefix=/usr --enable-shared=no
    If I try changing --prefix to /usr/lib then I get essentially the same error but it notes that now it's /usr/lib that isn't writable instead of /usr.
    Prefix /usr not writable
    please run ./configure --prefix=DIR
    with a writable directory path otherwise administrator privileges
    will be required to run `make install'
    This is all occurring as part of a makepkg command so getting an error about privileges has me confused.
    Last edited by khouli (2015-05-20 10:34:14)

  • Installing packages to /usr/local

    In the pacman man pages it says that the -r flag should not be used to install software to /usr/local instead of /usr. I'm wondering then, what the best way is to use pacman to do exactly that; install software to /usr/local (or even /opt I suppose) instead of /usr. I'm tempted to do it anyways and just respecify the database and logfile paths to the standard root directory. Suggestions?

    Well I was using it for code speak for installing anywhere outside of the standard directory really. What I'm really looking at doing is using yaourt to install owncloud from the AUR onto my server, but install it into its own /home folder and symlink it to my http directory rather than having the actual installation on my root directory. So it wouldn't be a standard repo package I'm looking at installing.

  • Howto extract into /usr/local

    Hi,
    how can i extract the linux self-extracting binary into the /usr/local directory instead of /usr/local/j2re1.4.2 ?
    make it sense? or should i leave it in /usr/local/j2re1.4.2 ?
    thanks
    jim

    how can i extract the linux self-extracting binary
    into the /usr/local directory instead of
    /usr/local/j2re1.4.2 ?You'll need to recreate the structure manually.
    Extract to a temporary directory and then copy the insides of j2re1.4.2 to /usr/local. If you set everything else up correctly it should just work, though your /usr/local will probably be polluted with a few files which just won't look in place. :-)
    make it sense? or should i leave it in
    /usr/local/j2re1.4.2 ?Unless you really need (not want :-) to use /usr/local, stick with /usr/local/j2re1.4.2. It'll be a lot easier to upgrade to the next java version from this, rather than having to do a lot of manual work finding stray files.
    Regards,
    Bhaveet

  • /opt or /usr and pre_install

    I have two questions:
    1. when we should put a package in /opt instead of /usr tree
    2. is there a pre_install function, so we can do something before installing package.  I tried install Leafnode on my fresh installed Arch Linux and I realised there is no user news (no group news either). If we have pre_install  pacman could make this user and group or at least informs admin that a package needs them... I'm sure there are more things that coud be done by this function.

    Putting commands in PKGBUILD is not an alternative to pre_install because a) it won't be running on the machines that you install the package on and b) it messes with things outside of $startdir when building. The latter should never be the case.
    Pacman currently doesn't have a pre_install function, but that's proabably because you shouldn't need it. I can't think of anything you would do in pre_install that you can't do in post_install, and it would be dangerous because things would be performed even if the package install was aborted later.
    You can add groups using post_install. The files in the package will have user and group set to fixed numbers anyway - the tar.gz archive doesn't use names for the ownerships.

  • Apache 1.3.33 and PHP 4.3.11 compiled in

    The package
    Here are the good stabile versions of both Apache and PHP including the following stuff:
    - support for these databases: mysql, postgresql, firebird
    - gdi support
    - mod_ssl along with a dummy certificate
    - eaccelerator for PHP and the default configuration for it
    - mod_gzip for pages compression
    - mod_security for ids system (see Snort and making its rules compatible with mod_security). Also remember to disable rules if you get problems with PHP developement. mod_security tends to be too aggressive at first with these default rules.
    The files
    PKGBUILD
    httpd
    apache13.install
    http.conf.d
    httpd.conf.mod_gzip
    httpd.conf.regression-v2
    httpd.logrotate
    Done
    02.05.2005
    - fixed apache13.install to properly stop the server before unistall
    - set eaccelerator to be configured more like it is in cactus's package
    01.05.2005
    - backing up etc/php.ini and etc/httpd/conf/httpd.conf
    - added logrotate support code from Judd's package
    - phpize is now called from startdir instead of /usr/bin/phpize for eaccelerator
    30.04.2005
       - the package depends now on my firebirddb package. It was needed because
    libgds.so is needed when firebird support is compiled in
       - disabled imagick for the time being - got to find out how to make it compile properly by default
       - cleaned up the code that sets up php (the manual file copying doesn't seem to be needed anymore with 4.3.11)
       - made phpize to be called from ${startdir}
       - set mod_security filtering to Off as default
    29.04.2005 - updated php to v. 4.3.11
       - Tested using Gallery 1.4.4-pl5 and my own project (a lot of database activity and file handling)
    28.04.2005
       - fixed eaccelerator and it now works (php.ini had eaccelerator's settings inserted wrong way with "-marks). The execution of some scripts that took before 0.075 - 0.09 seconds now only takes 0.03-0.04
    27.04.2005
       - cleaned up code a bit and old comments and disabled cookie format checking for mod_security that was causing 500 error
    Todo and thoughts
    <i>10.05.2005</i> - found a great guide about securely setting up apache and php
    - it would be really great to implement a curses-based configuration where the PKGBUILD would be edited according to choices the users makes (because there are changes needed in many parts of the file) - this way the package would really be for everyone
    - deleting default apache manual
    - to get imagick to compile- graphicsmagick installation to work properly or to make it optional
    (ignore the text about graphicmagic in PKGBUILD - it was just for my own tests)

    I built it today and tested again and compiling part went just fine. Only apache13.install was missing - it had pre-remove commands (if server is already running to stop it). Then removed the older same package (pacman -R) and replaced it with the new one. Then started up apache and had 500 error - it was caused by mod_security. Turned off cookie filter in httpd.conf.regression-v2 (SecFilterCheckCookieFormat Off) and then it started up fine.
    The eaccelerator did not appear on php info page, so got to fix setting it up... Please let me know what else seems suspicious to you and what might cause errors.

  • Unable to create cofile from data file

    Hi All,
    I am trying to create a cofile with the commane **** tp createcofile <TR>**** and getting the following error .....
    ---> tp CREATECOFILE DC1K900012 pf=/usr/sap/trans/bin/TP_DOMAIN_DC1.PFL
    This is tp version 372.04.65 (release 701, unicode enabled)
    /usr/sap/trans/bin/TP_DOMAIN_DC1.PFL/tmp/DC1KK900012.DC1: Not a directory
    /usr/sap/trans/bin/TP_DOMAIN_DC1.PFL/tmp/SLOG1021.DC1.LOC: Not a directory
    PANIC --> exiting
    tp returncode summary:
    TOOLS: Highest return code of single steps was: 0
    ERRORS: Highest tp internal error was: 0212
    tp finished with return code: 212
    meaning:
    could not access file as supposed (see dev_tp or SLOG1021.DC1 for more details)
    Please help with the syntax of creating a cofile ....
    Thanks in Advance.
    Regards,
    Revanth Kumar

    It may be because of TRANSDIR profile entry pointing to /usr/sap/trans/bin/TP_DOMAIN_DC1.PFL instead of /usr/sap/trans.
    its not able to access tmp folder under the trans file system.

  • [SOLVED]MPD, PulseAudio & Systemd/User

    Since the advent of skype 4.3 I've had to switch to using pulseaudio. Things seems to be working fine except for the interaction between pulseaudio and mpd. My goal is to attain the same functionality as I had before when I was just using alsa. The main problem seems to be that the mpd daemon starts before pulseaudio. This means that when I reboot, for example, my music doesn't automatically keep playing. However if I toggle mpc (or open ncmpcpp and unpause) then it works fine.
    What I have done
    1) I installed mpd using the script found on the wiki
    1a) copied ~/.config/mpd/mpd.conf to /etc/mpd.conf and uncomment #user line so it runs as my user
    1b) enabled the mpd service with systemctl so it starts on boot, as directed to from 1)
    2) Applied the workaround detailed here to make pulseaudio play nice with mpd
    From what I can understand this results in the mpd daemon using the /etc/mpd.conf file which mirrors my local one (but I think the process is still started as root?)
    If I don't do 2) then I get a problem where if I try to open pavucontrol I get an error saying I'm unable to connect and the system feels very unresponsive. Two second delays navigating around in thunar for example.
    fuser /dev/snd/* outputs
    » sudo fuser /dev/snd/*
    /dev/snd/controlC0: 440
    /dev/snd/controlC1: 440
    /dev/snd/pcmC0D0p: 440m
    » ps aux | grep 440
    quiv 440 1.2 0.1 495964 13248 ? Sl 15:16 0:05 /usr/bin/pulseaudio --start --log-target=syslog
    quiv 2259 0.0 0.0 11668 2296 pts/0 S+ 15:23 0:00 grep --color=auto 440
    For now I have added in
    if grep -q "state: pause" /home/quiv/.config/mpd/state; then
    mpc toggle
    fi
    to my ~/.xinitrc as a work around to get pulse and mpd to work together properly. However it doesn't seem to work all the time. If I leave my music playing then when I reboot the system with reboot it seems that somtimes the state is being saved as paused, and other times as play. I suppose I could just mpc toggle without checking, but I don't want a situation where if I happen to not be playing music that every time I reboot my music starts playing.
    Other things I have tried are;
    A) not using pulseaudio with mpd.
    B) not using systemd to manage mpd. Instead I manually started it in .xinitrc and pointed it to my ~/.config/mpd/mpd.conf file. I believe this means it runs as my own user instead of as root. When I did this I commented the username line and also undid 2) from above in ~/.config/mpd/mpd.conf
    The problem with A) is that if I use alsa with mpd, mpd hogs my soundcard. My card becomes unselectable in pavucontrol and I cannot use it with pulseaudio., meanng no skype. The benefit of doing this (this is how I used to do it before I needed pulseaudio) is I have no problems with mpd's state being saved incorrectly.
    The problem with B) is the mpdstate is saved incorrectly when for example I issue reboot. I can reproduce this by changing my currently played song then rebooting. When I boot back up mpd resumes playback from the previous session instead of recognizing the last thing I was playing. I had a search around on the forums and I found this issue which seems to describe what is happening. There doesn't seem to be a solution there instead a suggestion to user systemd (which I would like to do!) instead to manage mpd. Rasi's post details a unit file but I'm unsure what to do with this.
    Looking at the wiki it seems like maybe I am supposed to provide this file so that it overwrites the default mpd.service unit. So I followed the steps listed there. First I created the directory /etc/systemd/system/mpd.d/ then made the user.conf file inside. I tried just putting the additional arguments in
    [Service]
    User=YOUR_USER
    PAMName=system-local-login
    I also remember trying to overwrite the entire [Service] section of the original by using
    [Service]
    User=YOUR_USER
    PAMName=system-local-login
    ExecStart=
    ExecStart=/usr/bin/mpd --no-daemon
    because I think just adding the addtional parameters might not have worked. But I'm not sure on this point, maybe both ways worked. This seemed to work but I had the same problem as above. The state was still being saved incorrectly sometimes when I rebooted. I would get a previous session instead of the most recent change. So I tried the other method for overwriting systemd unit files and made the file /etc/systemd/system/mpd.service in which I pasted Rasi's entire unit file. This also seemed to work, but still the incorrect state problem happened.
    At this point I didn't know what to try. It seemed like the only option left was to set up mpd using a local configuration and setting up a systemd/User session and managing it that way. The wiki indiciated that if I did it this way I would not have to use the method 2) above. However I was/still am hesistant about doing this. I'm new to arch and the systemd/User wiki page seems very intimidating. I worry that I will create problems that I won't understand how to solve using this method just for the chance that mpd will function correclty with pulse. However I seemed to have exhausted all my possible options so I thought whatever I'll try it anyway! I'm certain I probably haven't done it right however.
    So once again I turned to the wiki to help me with setting this up. However I can't make sense of the article. I don't know if I should follow ONLY the Setup since systemd 206 or if I should follow both setup sections? I decided to follow only the first section. I use no DE so I commented out the
    [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx
    line in my ~/.zprofile. When I set up my system I followed the Automatic login to virtual console. I left this file alone, but upon second thoughts maybe I should have disabled this too? I don't understand if using xlogin-git to austoart Xorg, as described in the systemd/User page, requires me to get rid of this too. I think xlogin-git just starts Xorg so automatic login via getty should be fine?
    Immediately when I boot in using systemd to manage my session I notice that there are problems. I don't think my environment variables are being sourced from .zshenv because my panel fails to load. If I kill the panel and load it again it works. This makes me think there is something wrong with the order of units started with systemd.
    » sudo journalctl --this-boot --no-pager | grep -i panel ~
    Jul 05 16:25:39 lorelai bash[494]: /home/quiv/.config/bspwm/panel/panel: line 16: : No such file or directory
    Jul 05 16:25:39 lorelai bash[494]: /home/quiv/.config/bspwm/panel/panel: line 17: : No such file or directory
    Jul 05 16:25:39 lorelai bash[494]: /home/quiv/.config/bspwm/panel/panel: line 18: : No such file or directory
    In each instance panel is trying to do things based on $PANEL_FIFO which is exported from ~/.zshenv but it doesn't appear to be set at the time systemd starts things up. Apart from these problems, which are probably undoubtedly due to the fact I failed to set up systemd/User properly, I still have problems with mpd. The state seems to be remembered correctly now, however when I reboot I still have to toggle mpc for it to start playback. It seems to be the same problem as when I use setup detailed intially. I suspect perhaps once again there is something wrong with the order here. MPD starts before pulse so it doesn't find anything to play through, then once I issue the mpc toggle command pulse is started and all is happy.
    A final note is that I was getting this error yesterday when using systemd/User
    ● mpd.service - Music Player Daemon
    Loaded: loaded (/usr/lib/systemd/system/mpd.service; enabled)
    Active: inactive (dead)
    Jul 05 03:11:41 lorelai pulseaudio[450]: [pulseaudio] module-jackdbus-detect.c: Unable to contact D-Bus session bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
    Jul 05 03:11:41 lorelai pulseaudio[450]: [pulseaudio] module.c: Failed to load module "module-jackdbus-detect" (argument: "channels=2"): initialization failed.
    Jul 05 03:11:41 lorelai pulseaudio[450]: [pulseaudio] main.c: Module load failed.
    Jul 05 03:13:35 lorelai systemd[1]: Stopping Music Player Daemon...
    Jul 05 03:13:35 lorelai systemd[1]: Stopped Music Player Daemon.
    but it doesn't seem to happen anymore.
    Also I have no idea if I'm even supposed to use it like this but
    » sudo systemctl --user enable mpd ~
    Failed to get D-Bus connection: Connection refused
    I tried this because I was wondering if mpd was even using the correct service when using systemd/User. I thought perhaps it just was using the one in /etc/systemd/system/ instead of /usr/lib/systemd/user/. I'm still not sure about this.
    In the end I've exhausted whatever I can think of. I'm sure I've done a lot of things wrong but I tried my best. Hopefully somebody knows what I've done wrong and can help me.
    ~/.config/mpd/mpd.conf
    # An example configuration file for MPD.
    # Read the user manual for documentation: http://www.musicpd.org/doc/user/
    # Files and directories #######################################################
    # This setting controls the top directory which MPD will search to discover the
    # available audio files and add them to the daemon's online database. This
    # setting defaults to the XDG directory, otherwise the music directory will be
    # be disabled and audio files will only be accepted over ipc socket (using
    # file:// protocol) or streaming files over an accepted protocol.
    music_directory "~/Music"
    # This setting sets the MPD internal playlist directory. The purpose of this
    # directory is storage for playlists created by MPD. The server will use
    # playlist files not created by the server but only if they are in the MPD
    # format. This setting defaults to playlist saving being disabled.
    playlist_directory "~/.config/mpd/playlists"
    # This setting sets the location of the MPD database. This file is used to
    # load the database at server start up and store the database while the
    # server is not up. This setting defaults to disabled which will allow
    # MPD to accept files over ipc socket (using file:// protocol) or streaming
    # files over an accepted protocol.
    db_file "~/.config/mpd/database"
    # These settings are the locations for the daemon log files for the daemon.
    # These logs are great for troubleshooting, depending on your log_level
    # settings.
    # The special value "syslog" makes MPD use the local syslog daemon. This
    # setting defaults to logging to syslog, otherwise logging is disabled.
    log_file "~/.config/mpd/log"
    # This setting sets the location of the file which stores the process ID
    # for use of mpd --kill and some init scripts. This setting is disabled by
    # default and the pid file will not be stored.
    pid_file "~/.config/mpd/pid"
    # This setting sets the location of the file which contains information about
    # most variables to get MPD back into the same general shape it was in before
    # it was brought down. This setting is disabled by default and the server
    # state will be reset on server start up.
    state_file "~/.config/mpd/state"
    # The location of the sticker database. This is a database which
    # manages dynamic information attached to songs.
    sticker_file "~/.config/mpd/sticker.sql"
    # General music daemon options ################################################
    # This setting specifies the user that MPD will run as. MPD should never run as
    # root and you may use this setting to make MPD change its user ID after
    # initialization. This setting is disabled by default and MPD is run as the
    # current user.
    #user "quiv"
    # This setting specifies the group that MPD will run as. If not specified
    # primary group of user specified with "user" setting will be used (if set).
    # This is useful if MPD needs to be a member of group such as "audio" to
    # have permission to use sound card.
    #group "nogroup"
    # This setting sets the address for the daemon to listen on. Careful attention
    # should be paid if this is assigned to anything other then the default, any.
    # This setting can deny access to control of the daemon.
    # For network
    bind_to_address "127.0.0.1"
    # And for Unix Socket
    bind_to_address "~/.config/mpd/socket"
    # This setting is the TCP port that is desired for the daemon to get assigned
    # to.
    port "6600"
    # This setting controls the type of information which is logged. Available
    # setting arguments are "default", "secure" or "verbose". The "verbose" setting
    # argument is recommended for troubleshooting, though can quickly stretch
    # available resources on limited hardware storage.
    log_level "default"
    # If you have a problem with your MP3s ending abruptly it is recommended that
    # you set this argument to "no" to attempt to fix the problem. If this solves
    # the problem, it is highly recommended to fix the MP3 files with vbrfix
    # (available from <http://www.willwap.co.uk/Programs/vbrfix.php>), at which
    # point gapless MP3 playback can be enabled.
    gapless_mp3_playback "yes"
    # Setting "restore_paused" to "yes" puts MPD into pause mode instead
    # of starting playback after startup.
    #restore_paused "no"
    # This setting enables MPD to create playlists in a format usable by other
    # music players.
    #save_absolute_paths_in_playlists "no"
    # This setting defines a list of tag types that will be extracted during the
    # audio file discovery process. The complete list of possible values can be
    # found in the mpd.conf man page.
    #metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
    # This setting enables automatic update of MPD's database when files in
    # music_directory are changed.
    auto_update "yes"
    # Limit the depth of the directories being watched, 0 means only watch
    # the music directory itself. There is no limit by default.
    auto_update_depth "3"
    # Symbolic link behavior ######################################################
    # If this setting is set to "yes", MPD will discover audio files by following
    # symbolic links outside of the configured music_directory.
    #follow_outside_symlinks "yes"
    # If this setting is set to "yes", MPD will discover audio files by following
    # symbolic links inside of the configured music_directory.
    #follow_inside_symlinks "yes"
    # Zeroconf / Avahi Service Discovery ##########################################
    # If this setting is set to "yes", service information will be published with
    # Zeroconf / Avahi.
    #zeroconf_enabled "yes"
    # The argument to this setting will be the Zeroconf / Avahi unique name for
    # this MPD server on the network.
    #zeroconf_name "Music Player"
    # Permissions #################################################################
    # If this setting is set, MPD will require password authorization. The password
    # can setting can be specified multiple times for different password profiles.
    #password "password@read,add,control,admin"
    # This setting specifies the permissions a user has who has not yet logged in.
    #default_permissions "read,add,control,admin"
    # Database #######################################################################
    #database {
    # plugin "proxy"
    # host "other.mpd.host"
    # port "6600"
    # Input #######################################################################
    input {
    plugin "curl"
    proxy "proxy.isp.com:8080"
    proxy_user "user"
    proxy_password "password"
    # Audio Output ################################################################
    # MPD supports various audio output types, as well as playing through multiple
    # audio outputs at the same time, through multiple audio_output settings
    # blocks. Setting this block is optional, though the server will only attempt
    # autodetection for one sound card.
    # An example of an ALSA output:
    #audio_output {
    # type "alsa"
    # name "My ALSA Device"
    ## device "hw:0,0" # optional
    ## mixer_type "hardware" # optional
    ## mixer_device "default" # optional
    ## mixer_control "PCM" # optional
    ## mixer_index "0" # optional
    audio_output {
    type "pulse"
    name "pulse audio"
    format "48000:16:2"
    ## server "127.0.0.1"
    ## sink "remote_server_sink" # optional
    # An example of an OSS output:
    #audio_output {
    # type "oss"
    # name "My OSS Device"
    ## device "/dev/dsp" # optional
    ## mixer_type "hardware" # optional
    ## mixer_device "/dev/mixer" # optional
    ## mixer_control "PCM" # optional
    # An example of a shout output (for streaming to Icecast):
    #audio_output {
    # type "shout"
    # encoding "ogg" # optional
    # name "My Shout Stream"
    # host "localhost"
    # port "8000"
    # mount "/mpd.ogg"
    # password "hackme"
    # quality "5.0"
    # bitrate "128"
    # format "44100:16:1"
    ## protocol "icecast2" # optional
    ## user "source" # optional
    ## description "My Stream Description" # optional
    ## url "http://example.com" # optional
    ## genre "jazz" # optional
    ## public "no" # optional
    ## timeout "2" # optional
    ## mixer_type "software" # optional
    # An example of a recorder output:
    #audio_output {
    # type "recorder"
    # name "My recorder"
    # encoder "vorbis" # optional, vorbis or lame
    # path "/var/lib/mpd/recorder/mpd.ogg"
    ## quality "5.0" # do not define if bitrate is defined
    # bitrate "128" # do not define if quality is defined
    # format "44100:16:1"
    # An example of a httpd output (built-in HTTP streaming server):
    #audio_output {
    # type "httpd"
    # name "My HTTP Stream"
    # encoder "vorbis" # optional, vorbis or lame
    # port "8000"
    # bind_to_address "0.0.0.0" # optional, IPv4 or IPv6
    ## quality "5.0" # do not define if bitrate is defined
    # bitrate "128" # do not define if quality is defined
    # format "44100:16:1"
    # max_clients "0" # optional 0=no limit
    # An example of a pulseaudio output (streaming to a remote pulseaudio server)
    #audio_output {
    # type "pulse"
    # name "My Pulse Output"
    ## server "remote_server" # optional
    ## sink "remote_server_sink" # optional
    # An example of a winmm output (Windows multimedia API).
    #audio_output {
    # type "winmm"
    # name "My WinMM output"
    ## device "Digital Audio (S/PDIF) (High Definition Audio Device)" # optional
    # or
    ## device "0" # optional
    ## mixer_type "hardware" # optional
    # An example of an openal output.
    #audio_output {
    # type "openal"
    # name "My OpenAL output"
    ## device "Digital Audio (S/PDIF) (High Definition Audio Device)" # optional
    ## Example "pipe" output:
    #audio_output {
    # type "pipe"
    # name "my pipe"
    # command "aplay -f cd 2>/dev/null"
    ## Or if you're want to use AudioCompress
    # command "AudioCompress -m | aplay -f cd 2>/dev/null"
    ## Or to send raw PCM stream through PCM:
    # command "nc example.org 8765"
    # format "44100:16:2"
    ## An example of a null output (for no audio output):
    #audio_output {
    # type "null"
    # name "My Null Output"
    # mixer_type "none" # optional
    # If MPD has been compiled with libsamplerate support, this setting specifies
    # the sample rate converter to use. Possible values can be found in the
    # mpd.conf man page or the libsamplerate documentation. By default, this is
    # setting is disabled.
    #samplerate_converter "Fastest Sinc Interpolator"
    # Normalization automatic volume adjustments ##################################
    # This setting specifies the type of ReplayGain to use. This setting can have
    # the argument "off", "album", "track" or "auto". "auto" is a special mode that
    # chooses between "track" and "album" depending on the current state of
    # random playback. If random playback is enabled then "track" mode is used.
    # See <http://www.replaygain.org> for more details about ReplayGain.
    # This setting is off by default.
    replaygain "album"
    # This setting sets the pre-amp used for files that have ReplayGain tags. By
    # default this setting is disabled.
    replaygain_preamp "0"
    # This setting sets the pre-amp used for files that do NOT have ReplayGain tags.
    # By default this setting is disabled.
    #replaygain_missing_preamp "0"
    # This setting enables or disables ReplayGain limiting.
    # MPD calculates actual amplification based on the ReplayGain tags
    # and replaygain_preamp / replaygain_missing_preamp setting.
    # If replaygain_limit is enabled MPD will never amplify audio signal
    # above its original level. If replaygain_limit is disabled such amplification
    # might occur. By default this setting is enabled.
    #replaygain_limit "yes"
    # This setting enables on-the-fly normalization volume adjustment. This will
    # result in the volume of all playing audio to be adjusted so the output has
    # equal "loudness". This setting is disabled by default.
    #volume_normalization "no"
    # MPD Internal Buffering ######################################################
    # This setting adjusts the size of internal decoded audio buffering. Changing
    # this may have undesired effects. Don't change this if you don't know what you
    # are doing.
    #audio_buffer_size "4096"
    # This setting controls the percentage of the buffer which is filled before
    # beginning to play. Increasing this reduces the chance of audio file skipping,
    # at the cost of increased time prior to audio playback.
    #buffer_before_play "10%"
    # Resource Limitations ########################################################
    # These settings are various limitations to prevent MPD from using too many
    # resources. Generally, these settings should be minimized to prevent security
    # risks, depending on the operating resources.
    #connection_timeout "60"
    #max_connections "10"
    #max_playlist_length "16384"
    #max_command_list_size "2048"
    #max_output_buffer_size "8192"
    # Character Encoding ##########################################################
    # If file or directory names do not display correctly for your locale then you
    # may need to modify this setting.
    #filesystem_charset "UTF-8"
    # This setting controls the encoding that ID3v1 tags should be converted from.
    #id3v1_encoding "ISO-8859-1"
    # SIDPlay decoder #############################################################
    # songlength_database:
    # Location of your songlengths file, as distributed with the HVSC.
    # The sidplay plugin checks this for matching MD5 fingerprints.
    # See http://www.c64.org/HVSC/DOCUMENTS/Songlengths.faq
    # default_songlength:
    # This is the default playing time in seconds for songs not in the
    # songlength database, or in case you're not using a database.
    # A value of 0 means play indefinitely.
    # filter:
    # Turns the SID filter emulation on or off.
    #decoder {
    # plugin "sidplay"
    # songlength_database "/media/C64Music/DOCUMENTS/Songlengths.txt"
    # default_songlength "120"
    # filter "true"
    /etc/mpd.config
    # An example configuration file for MPD.
    # Read the user manual for documentation: http://www.musicpd.org/doc/user/
    # Files and directories #######################################################
    # This setting controls the top directory which MPD will search to discover the
    # available audio files and add them to the daemon's online database. This
    # setting defaults to the XDG directory, otherwise the music directory will be
    # be disabled and audio files will only be accepted over ipc socket (using
    # file:// protocol) or streaming files over an accepted protocol.
    music_directory "~/Music"
    # This setting sets the MPD internal playlist directory. The purpose of this
    # directory is storage for playlists created by MPD. The server will use
    # playlist files not created by the server but only if they are in the MPD
    # format. This setting defaults to playlist saving being disabled.
    playlist_directory "~/.config/mpd/playlists"
    # This setting sets the location of the MPD database. This file is used to
    # load the database at server start up and store the database while the
    # server is not up. This setting defaults to disabled which will allow
    # MPD to accept files over ipc socket (using file:// protocol) or streaming
    # files over an accepted protocol.
    db_file "~/.config/mpd/database"
    # These settings are the locations for the daemon log files for the daemon.
    # These logs are great for troubleshooting, depending on your log_level
    # settings.
    # The special value "syslog" makes MPD use the local syslog daemon. This
    # setting defaults to logging to syslog, otherwise logging is disabled.
    log_file "~/.config/mpd/log"
    # This setting sets the location of the file which stores the process ID
    # for use of mpd --kill and some init scripts. This setting is disabled by
    # default and the pid file will not be stored.
    pid_file "~/.config/mpd/pid"
    # This setting sets the location of the file which contains information about
    # most variables to get MPD back into the same general shape it was in before
    # it was brought down. This setting is disabled by default and the server
    # state will be reset on server start up.
    state_file "~/.config/mpd/state"
    # The location of the sticker database. This is a database which
    # manages dynamic information attached to songs.
    sticker_file "~/.config/mpd/sticker.sql"
    # General music daemon options ################################################
    # This setting specifies the user that MPD will run as. MPD should never run as
    # root and you may use this setting to make MPD change its user ID after
    # initialization. This setting is disabled by default and MPD is run as the
    # current user.
    user "quiv"
    # This setting specifies the group that MPD will run as. If not specified
    # primary group of user specified with "user" setting will be used (if set).
    # This is useful if MPD needs to be a member of group such as "audio" to
    # have permission to use sound card.
    #group "nogroup"
    # This setting sets the address for the daemon to listen on. Careful attention
    # should be paid if this is assigned to anything other then the default, any.
    # This setting can deny access to control of the daemon.
    # For network
    bind_to_address "127.0.0.1"
    # And for Unix Socket
    bind_to_address "~/.config/mpd/socket"
    # This setting is the TCP port that is desired for the daemon to get assigned
    # to.
    port "6600"
    # This setting controls the type of information which is logged. Available
    # setting arguments are "default", "secure" or "verbose". The "verbose" setting
    # argument is recommended for troubleshooting, though can quickly stretch
    # available resources on limited hardware storage.
    log_level "default"
    # If you have a problem with your MP3s ending abruptly it is recommended that
    # you set this argument to "no" to attempt to fix the problem. If this solves
    # the problem, it is highly recommended to fix the MP3 files with vbrfix
    # (available from <http://www.willwap.co.uk/Programs/vbrfix.php>), at which
    # point gapless MP3 playback can be enabled.
    gapless_mp3_playback "yes"
    # Setting "restore_paused" to "yes" puts MPD into pause mode instead
    # of starting playback after startup.
    #restore_paused "no"
    # This setting enables MPD to create playlists in a format usable by other
    # music players.
    #save_absolute_paths_in_playlists "no"
    # This setting defines a list of tag types that will be extracted during the
    # audio file discovery process. The complete list of possible values can be
    # found in the mpd.conf man page.
    #metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
    # This setting enables automatic update of MPD's database when files in
    # music_directory are changed.
    auto_update "yes"
    # Limit the depth of the directories being watched, 0 means only watch
    # the music directory itself. There is no limit by default.
    auto_update_depth "3"
    # Symbolic link behavior ######################################################
    # If this setting is set to "yes", MPD will discover audio files by following
    # symbolic links outside of the configured music_directory.
    #follow_outside_symlinks "yes"
    # If this setting is set to "yes", MPD will discover audio files by following
    # symbolic links inside of the configured music_directory.
    #follow_inside_symlinks "yes"
    # Zeroconf / Avahi Service Discovery ##########################################
    # If this setting is set to "yes", service information will be published with
    # Zeroconf / Avahi.
    #zeroconf_enabled "yes"
    # The argument to this setting will be the Zeroconf / Avahi unique name for
    # this MPD server on the network.
    #zeroconf_name "Music Player"
    # Permissions #################################################################
    # If this setting is set, MPD will require password authorization. The password
    # can setting can be specified multiple times for different password profiles.
    #password "password@read,add,control,admin"
    # This setting specifies the permissions a user has who has not yet logged in.
    #default_permissions "read,add,control,admin"
    # Database #######################################################################
    #database {
    # plugin "proxy"
    # host "other.mpd.host"
    # port "6600"
    # Input #######################################################################
    input {
    plugin "curl"
    proxy "proxy.isp.com:8080"
    proxy_user "user"
    proxy_password "password"
    # Audio Output ################################################################
    # MPD supports various audio output types, as well as playing through multiple
    # audio outputs at the same time, through multiple audio_output settings
    # blocks. Setting this block is optional, though the server will only attempt
    # autodetection for one sound card.
    # An example of an ALSA output:
    #audio_output {
    # type "alsa"
    # name "My ALSA Device"
    ## device "hw:0,0" # optional
    ## mixer_type "hardware" # optional
    ## mixer_device "default" # optional
    ## mixer_control "PCM" # optional
    ## mixer_index "0" # optional
    audio_output {
    type "pulse"
    name "pulse audio"
    format "48000:16:2"
    server "127.0.0.1"
    ## sink "remote_server_sink" # optional
    # An example of an OSS output:
    #audio_output {
    # type "oss"
    # name "My OSS Device"
    ## device "/dev/dsp" # optional
    ## mixer_type "hardware" # optional
    ## mixer_device "/dev/mixer" # optional
    ## mixer_control "PCM" # optional
    # An example of a shout output (for streaming to Icecast):
    #audio_output {
    # type "shout"
    # encoding "ogg" # optional
    # name "My Shout Stream"
    # host "localhost"
    # port "8000"
    # mount "/mpd.ogg"
    # password "hackme"
    # quality "5.0"
    # bitrate "128"
    # format "44100:16:1"
    ## protocol "icecast2" # optional
    ## user "source" # optional
    ## description "My Stream Description" # optional
    ## url "http://example.com" # optional
    ## genre "jazz" # optional
    ## public "no" # optional
    ## timeout "2" # optional
    ## mixer_type "software" # optional
    # An example of a recorder output:
    #audio_output {
    # type "recorder"
    # name "My recorder"
    # encoder "vorbis" # optional, vorbis or lame
    # path "/var/lib/mpd/recorder/mpd.ogg"
    ## quality "5.0" # do not define if bitrate is defined
    # bitrate "128" # do not define if quality is defined
    # format "44100:16:1"
    # An example of a httpd output (built-in HTTP streaming server):
    #audio_output {
    # type "httpd"
    # name "My HTTP Stream"
    # encoder "vorbis" # optional, vorbis or lame
    # port "8000"
    # bind_to_address "0.0.0.0" # optional, IPv4 or IPv6
    ## quality "5.0" # do not define if bitrate is defined
    # bitrate "128" # do not define if quality is defined
    # format "44100:16:1"
    # max_clients "0" # optional 0=no limit
    # An example of a pulseaudio output (streaming to a remote pulseaudio server)
    #audio_output {
    # type "pulse"
    # name "My Pulse Output"
    ## server "remote_server" # optional
    ## sink "remote_server_sink" # optional
    # An example of a winmm output (Windows multimedia API).
    #audio_output {
    # type "winmm"
    # name "My WinMM output"
    ## device "Digital Audio (S/PDIF) (High Definition Audio Device)" # optional
    # or
    ## device "0" # optional
    ## mixer_type "hardware" # optional
    # An example of an openal output.
    #audio_output {
    # type "openal"
    # name "My OpenAL output"
    ## device "Digital Audio (S/PDIF) (High Definition Audio Device)" # optional
    ## Example "pipe" output:
    #audio_output {
    # type "pipe"
    # name "my pipe"
    # command "aplay -f cd 2>/dev/null"
    ## Or if you're want to use AudioCompress
    # command "AudioCompress -m | aplay -f cd 2>/dev/null"
    ## Or to send raw PCM stream through PCM:
    # command "nc example.org 8765"
    # format "44100:16:2"
    ## An example of a null output (for no audio output):
    #audio_output {
    # type "null"
    # name "My Null Output"
    # mixer_type "none" # optional
    # If MPD has been compiled with libsamplerate support, this setting specifies
    # the sample rate converter to use. Possible values can be found in the
    # mpd.conf man page or the libsamplerate documentation. By default, this is
    # setting is disabled.
    #samplerate_converter "Fastest Sinc Interpolator"
    # Normalization automatic volume adjustments ##################################
    # This setting specifies the type of ReplayGain to use. This setting can have
    # the argument "off", "album", "track" or "auto". "auto" is a special mode that
    # chooses between "track" and "album" depending on the current state of
    # random playback. If random playback is enabled then "track" mode is used.
    # See <http://www.replaygain.org> for more details about ReplayGain.
    # This setting is off by default.
    replaygain "album"
    # This setting sets the pre-amp used for files that have ReplayGain tags. By
    # default this setting is disabled.
    replaygain_preamp "0"
    # This setting sets the pre-amp used for files that do NOT have ReplayGain tags.
    # By default this setting is disabled.
    #replaygain_missing_preamp "0"
    # This setting enables or disables ReplayGain limiting.
    # MPD calculates actual amplification based on the ReplayGain tags
    # and replaygain_preamp / replaygain_missing_preamp setting.
    # If replaygain_limit is enabled MPD will never amplify audio signal
    # above its original level. If replaygain_limit is disabled such amplification
    # might occur. By default this setting is enabled.
    #replaygain_limit "yes"
    # This setting enables on-the-fly normalization volume adjustment. This will
    # result in the volume of all playing audio to be adjusted so the output has
    # equal "loudness". This setting is disabled by default.
    #volume_normalization "no"
    # MPD Internal Buffering ######################################################
    # This setting adjusts the size of internal decoded audio buffering. Changing
    # this may have undesired effects. Don't change this if you don't know what you
    # are doing.
    #audio_buffer_size "4096"
    # This setting controls the percentage of the buffer which is filled before
    # beginning to play. Increasing this reduces the chance of audio file skipping,
    # at the cost of increased time prior to audio playback.
    #buffer_before_play "10%"
    # Resource Limitations ########################################################
    # These settings are various limitations to prevent MPD from using too many
    # resources. Generally, these settings should be minimized to prevent security
    # risks, depending on the operating resources.
    #connection_timeout "60"
    #max_connections "10"
    #max_playlist_length "16384"
    #max_command_list_size "2048"
    #max_output_buffer_size "8192"
    # Character Encoding ##########################################################
    # If file or directory names do not display correctly for your locale then you
    # may need to modify this setting.
    #filesystem_charset "UTF-8"
    # This setting controls the encoding that ID3v1 tags should be converted from.
    #id3v1_encoding "ISO-8859-1"
    # SIDPlay decoder #############################################################
    # songlength_database:
    # Location of your songlengths file, as distributed with the HVSC.
    # The sidplay plugin checks this for matching MD5 fingerprints.
    # See http://www.c64.org/HVSC/DOCUMENTS/Songlengths.faq
    # default_songlength:
    # This is the default playing time in seconds for songs not in the
    # songlength database, or in case you're not using a database.
    # A value of 0 means play indefinitely.
    # filter:
    # Turns the SID filter emulation on or off.
    #decoder {
    # plugin "sidplay"
    # songlength_database "/media/C64Music/DOCUMENTS/Songlengths.txt"
    # default_songlength "120"
    # filter "true"
    /etc/X11/xinit/xinitrc.d/pulseaudio [not sure if I even need this?]
    #!/bin/bash
    case "$DESKTOP_SESSION" in
    gnome|kde*|xfce*) # PulseAudio is started via XDG Autostart
    # Extra checks in case DESKTOP_SESSION is not set correctly
    if [[ -z $KDE_FULL_SESSION && -z $GNOME_DESKTOP_SESSION_ID ]]; then
    /usr/bin/start-pulseaudio-x11
    fi
    esac
    /etc/pulse/daemon.conf
    # This file is part of PulseAudio.
    # PulseAudio is free software; you can redistribute it and/or modify
    # it under the terms of the GNU Lesser General Public License as published by
    # the Free Software Foundation; either version 2 of the License, or
    # (at your option) any later version.
    # PulseAudio is distributed in the hope that it will be useful, but
    # WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    # General Public License for more details.
    # You should have received a copy of the GNU Lesser General Public License
    # along with PulseAudio; if not, write to the Free Software
    # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
    # USA.
    ## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for
    ## more information. Default values are commented out. Use either ; or # for
    ## commenting.
    ; daemonize = no
    ; fail = yes
    ; allow-module-loading = yes
    ; allow-exit = yes
    ; use-pid-file = yes
    ; system-instance = no
    ; local-server-type = user
    ; enable-shm = yes
    ; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
    ; lock-memory = no
    ; cpu-limit = no
    ; high-priority = yes
    ; nice-level = -11
    ; realtime-scheduling = yes
    ; realtime-priority = 5
    exit-idle-time=0
    ; exit-idle-time = 20
    ; scache-idle-time = 20
    ; dl-search-path = (depends on architecture)
    ; load-default-script-file = yes
    ; default-script-file = /etc/pulse/default.pa
    ; log-target = auto
    log-level = error
    ; log-meta = no
    ; log-time = no
    ; log-backtrace = 0
    resample-method = speex-float-7
    ; enable-remixing = yes
    ; enable-lfe-remixing = no
    flat-volumes = no
    ; rlimit-fsize = -1
    ; rlimit-data = -1
    ; rlimit-stack = -1
    ; rlimit-core = -1
    ; rlimit-as = -1
    ; rlimit-rss = -1
    ; rlimit-nproc = -1
    ; rlimit-nofile = 256
    ; rlimit-memlock = -1
    ; rlimit-locks = -1
    ; rlimit-sigpending = -1
    ; rlimit-msgqueue = -1
    ; rlimit-nice = 31
    ; rlimit-rtprio = 9
    ; rlimit-rttime = 1000000
    default-sample-format = s24le
    default-sample-rate = 48000
    ; alternate-sample-rate = 48000
    ; default-sample-channels = 2
    ; default-channel-map = front-left,front-right
    default-fragments = 2
    default-fragment-size-msec = 76
    ; enable-deferred-volume = yes
    ; deferred-volume-safety-margin-usec = 8000
    ; deferred-volume-extra-delay-usec = 0
    /etc/pulse/default.pa
    #!/usr/bin/pulseaudio -nF
    # This file is part of PulseAudio.
    # PulseAudio is free software; you can redistribute it and/or modify it
    # under the terms of the GNU Lesser General Public License as published by
    # the Free Software Foundation; either version 2 of the License, or
    # (at your option) any later version.
    # PulseAudio is distributed in the hope that it will be useful, but
    # WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    # General Public License for more details.
    # You should have received a copy of the GNU Lesser General Public License
    # along with PulseAudio; if not, write to the Free Software Foundation,
    # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
    # This startup script is used only if PulseAudio is started per-user
    # (i.e. not in system mode)
    .nofail
    ### Load something into the sample cache
    #load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav
    #load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav
    #load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav
    #load-sample-lazy pulse-access /usr/share/sounds/generic.wav
    .fail
    ### Automatically restore the volume of streams and devices
    load-module module-device-restore
    load-module module-stream-restore
    load-module module-card-restore
    ### Automatically augment property information from .desktop files
    ### stored in /usr/share/application
    load-module module-augment-properties
    ### Should be after module-*-restore but before module-*-detect
    load-module module-switch-on-port-available
    ### Load audio drivers statically
    ### (it's probably better to not load these drivers manually, but instead
    ### use module-udev-detect -- see below -- for doing this automatically)
    #load-module module-alsa-sink
    #load-module module-alsa-source device=hw:1,0
    #load-module module-oss device="/dev/dsp" sink_name=output source_name=input
    #load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
    #load-module module-null-sink
    #load-module module-pipe-sink
    ### Automatically load driver modules depending on the hardware available
    .ifexists module-udev-detect.so
    load-module module-udev-detect
    .else
    ### Use the static hardware detection module (for systems that lack udev support)
    load-module module-detect
    .endif
    ### Automatically connect sink and source if JACK server is present
    .ifexists module-jackdbus-detect.so
    .nofail
    load-module module-jackdbus-detect channels=2
    .fail
    .endif
    ### Automatically load driver modules for Bluetooth hardware
    #.ifexists module-bluetooth-policy.so
    #load-module module-bluetooth-policy
    #.endif
    #.ifexists module-bluetooth-discover.so
    #load-module module-bluetooth-discover
    #.endif
    ### Load several protocols
    .ifexists module-esound-protocol-unix.so
    load-module module-esound-protocol-unix
    .endif
    load-module module-native-protocol-unix
    ### Network access (may be configured with paprefs, so leave this commented
    ### here if you plan to use paprefs)
    #load-module module-esound-protocol-tcp
    load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1
    #load-module module-zeroconf-publish
    ### Load the RTP receiver module (also configured via paprefs, see above)
    #load-module module-rtp-recv
    ### Load the RTP sender module (also configured via paprefs, see above)
    #load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'"
    #load-module module-rtp-send source=rtp.monitor
    ### Load additional modules from GConf settings. This can be configured with the paprefs tool.
    ### Please keep in mind that the modules configured by paprefs might conflict with manually
    ### loaded modules.
    .ifexists module-gconf.so
    .nofail
    load-module module-gconf
    .fail
    .endif
    ### Automatically restore the default sink/source when changed by the user
    ### during runtime
    ### NOTE: This should be loaded as early as possible so that subsequent modules
    ### that look up the default sink/source get the right value
    load-module module-default-device-restore
    ### Automatically move streams to the default sink if the sink they are
    ### connected to dies, similar for sources
    load-module module-rescue-streams
    ### Make sure we always have a sink around, even if it is a null sink.
    load-module module-always-sink
    ### Honour intended role device property
    load-module module-intended-roles
    ### Automatically suspend sinks/sources that become idle for too long
    load-module module-suspend-on-idle
    ### If autoexit on idle is enabled we want to make sure we only quit
    ### when no local session needs us anymore.
    .ifexists module-console-kit.so
    load-module module-console-kit
    .endif
    .ifexists module-systemd-login.so
    load-module module-systemd-login
    .endif
    ### Enable positioned event sounds
    load-module module-position-event-sounds
    ### Cork music/video streams when a phone stream is active
    load-module module-role-cork
    ### Modules to allow autoloading of filters (such as echo cancellation)
    ### on demand. module-filter-heuristics tries to determine what filters
    ### make sense, and module-filter-apply does the heavy-lifting of
    ### loading modules and rerouting streams.
    load-module module-filter-heuristics
    load-module module-filter-apply
    # X11 modules should not be started from default.pa so that one daemon
    # can be shared by multiple sessions.
    ### Load X11 bell module
    #load-module module-x11-bell sample=bell-windowing-system
    ### Register ourselves in the X11 session manager
    #load-module module-x11-xsmp
    ### Publish connection data in the X11 root window
    #.ifexists module-x11-publish.so
    #.nofail
    #load-module module-x11-publish
    #.fail
    #.endif
    ### Make some devices default
    #set-default-sink output
    #set-default-source input
    ~/.xinitrc [currently using daemon mpd]
    #!/bin/sh
    # ~/.xinitrc
    # Executed by startx (run your window manager from here)
    if [ -d /etc/X11/xinit/xinitrc.d ]; then
    for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
    done
    unset f
    fi
    #if grep -q "state: pause" /home/quiv/.config/mpd/state; then
    # mpc toggle
    #fi
    #mpd ~/.config/mpd/mpd.conf
    ~/.config/bspwm/panel/notify_mpd
    xrdb ~/.Xresources
    xset +fp ~/.fonts
    xset +fp /usr/share/fonts/misc
    xset fp rehash
    xsetroot -cursor_name left_ptr &
    # imlibsetroot -x e -s f /home/quiv/Pictures/bloom_one_desktop.jpg
    sh ~/.fehbg &
    compton -CGb --backend glx --paint-on-overlay --vsync opengl-swc &
    # exec gnome-session
    # exec startkde
    # exec startxfce4
    # ...or the Window Manager of your choice
    sxhkd &
    exec bspwm
    ~/.zprofile [currently trying to use systemd/User]
    #[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx
    EDIT:A small update; it seems I don't need to have /etc/systemd/system/[email protected]/autologin.conf when using systemd to manag my user session as I removed it and I'm both automatically logged on and in X-session.
    Last edited by quiv (2014-07-05 13:40:30)

    o_caino wrote:
    Setting mpd as a systemd user service is very simple. This is what I did.
    In ~/.config/systemd/user/mpd.service
    [Unit]
    Description=Music Player Daemon
    After=network.target sound.target
    [Service]
    ExecStart=/usr/bin/mpd --no-daemon
    ExecStop=/usr/bin/mpd --kill
    [Install]
    WantedBy=default.target
    To enable
    systemctl --user enable mpd
    Done.
    Well shit. I guess I didn't need to do all that other stuff. I only wish I'd known about this before wasting most of my day. Thank you very much, everything appears to be working flawlessly now.

  • Could not build cups-canon-3.00 from AUR

    Hi!
    I'm coming from linux mint and I'm totally amazed by simplicity of Arch Linux. However, I have problem with installing my printer (Canon IP1900). I'm unable to install canon-cups-3.00 from AUR (using yaourt). It gives me this error:
    ==> Zaczynam build()
    patching file backend/src/cnij_backend_common.c
    patching file cngpijmon/src/bjcupsmon_cups.c
    ......... libs
    processing .
    Running libtoolize...
    libtoolize: putting auxiliary files in `.'.
    libtoolize: copying file `./ltmain.sh'
    libtoolize: You should add the contents of the following files to `aclocal.m4':
    libtoolize: `/usr/share/aclocal/libtool.m4'
    libtoolize: `/usr/share/aclocal/ltoptions.m4'
    libtoolize: `/usr/share/aclocal/ltversion.m4'
    libtoolize: `/usr/share/aclocal/ltsugar.m4'
    libtoolize: `/usr/share/aclocal/lt~obsolete.m4'
    libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
    libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
    libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
    Running aclocal ...
    aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
    configure.in:4: error: 'AM_CONFIG_HEADER': this macro is obsolete.
    You should use the 'AC_CONFIG_HEADERS' macro instead.
    /usr/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from...
    configure.in:4: the top level
    autom4te: /usr/bin/m4 failed with exit status: 1
    aclocal: error: echo failed with exit status: 1
    Running autoheader...
    autoheader: error: AC_CONFIG_HEADERS not found in configure.in
    Running automake --gnu ...
    automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
    configure.in: error: no proper invocation of AM_INIT_AUTOMAKE was found.
    configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
    configure.in: that aclocal.m4 is present in the top-level directory,
    configure.in: and that aclocal.m4 was recently regenerated (using aclocal)
    configure.in:9: installing './install-sh'
    Makefile.am: installing './COPYING' using GNU General Public License v3 file
    Makefile.am: Consider adding the COPYING file to the version control system
    Makefile.am: for your code, to avoid questions about which license your project uses
    automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
    buftool/Makefile.am:1: error: library used but 'RANLIB' is undefined
    buftool/Makefile.am:1: The usual way to define 'RANLIB' is to add 'AC_PROG_RANLIB'
    buftool/Makefile.am:1: to 'configure.in' and run 'autoconf' again.
    buftool/Makefile.am: installing './depcomp'
    /usr/share/automake-1.13/am/depend2.am: error: am__fastdepCC does not appear in AM_CONDITIONAL
    /usr/share/automake-1.13/am/depend2.am: The usual way to define 'am__fastdepCC' is to add 'AC_PROG_CC'
    /usr/share/automake-1.13/am/depend2.am: to 'configure.in' and run 'aclocal' and 'autoconf' again
    /usr/share/automake-1.13/am/depend2.am: error: AMDEP does not appear in AM_CONDITIONAL
    /usr/share/automake-1.13/am/depend2.am: The usual way to define 'AMDEP' is to add one of the compiler tests
    /usr/share/automake-1.13/am/depend2.am: AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC, AC_PROG_OBJCXX,
    /usr/share/automake-1.13/am/depend2.am: AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC
    /usr/share/automake-1.13/am/depend2.am: to 'configure.in' and run 'aclocal' and 'autoconf' again
    paramlist/Makefile.am:1: error: Libtool library used but 'LIBTOOL' is undefined
    paramlist/Makefile.am:1: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
    paramlist/Makefile.am:1: to 'configure.in' and run 'aclocal' and 'autoconf' again.
    paramlist/Makefile.am:1: If 'LT_INIT' is in 'configure.in', make sure
    paramlist/Makefile.am:1: its definition is in aclocal's search path.
    Running autoconf ...
    configure.in:2: error: possibly undefined macro: AM_INIT_AUTOMAKE
    If this token and others are legitimate, please use m4_pattern_allow.
    See the Autoconf documentation.
    configure.in:4: error: possibly undefined macro: AM_CONFIG_HEADER
    configure.in:11: error: possibly undefined macro: AM_PROG_LIBTOOL
    Running ./configure --prefix=/usr --enable-progpath=/usr/bin ...
    configure: WARNING: unrecognized options: --enable-progpath
    ./configure: line 2181: syntax error near unexpected token `buftool,'
    ./configure: line 2181: `AM_INIT_AUTOMAKE(buftool, 1.0.0)'
    ==> BŁĄD: Wystąpił błąd w build().
    Przerywam...
    ==> ERROR: Makepkg was unable to build cups-canon-3.00.
    I tried downgrading automake to 1.11 from AUR, but then, when I try to compile cups-canon-3.00 it just gives me error, that I don't have automake (yes, I did "export automake=automake-1.11").
    I'm fighting with it for hours, and still nothing...

    It looks like this time it changed something so I gave it two tries again:
    Before 1st autogen:
    ==> Zaczynam build()
    patching file backend/src/cnij_backend_common.c
    patching file cngpijmon/src/bjcupsmon_cups.c
    ......... libs
    processing .
    Running libtoolize...
    libtoolize: putting auxiliary files in `.'.
    libtoolize: copying file `./ltmain.sh'
    libtoolize: You should add the contents of the following files to `aclocal.m4':
    libtoolize: `/usr/share/aclocal/libtool.m4'
    libtoolize: `/usr/share/aclocal/ltoptions.m4'
    libtoolize: `/usr/share/aclocal/ltversion.m4'
    libtoolize: `/usr/share/aclocal/ltsugar.m4'
    libtoolize: `/usr/share/aclocal/lt~obsolete.m4'
    libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
    libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
    libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
    Running aclocal ...
    aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
    Running autoheader...
    Running automake --gnu ...
    automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
    configure.in:2: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
    configure.in:2: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation
    configure.in:11: installing './config.guess'
    configure.in:11: installing './config.sub'
    configure.in:2: installing './install-sh'
    configure.in:2: installing './missing'
    Makefile.am: installing './COPYING' using GNU General Public License v3 file
    Makefile.am: Consider adding the COPYING file to the version control system
    Makefile.am: for your code, to avoid questions about which license your project uses
    automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
    buftool/Makefile.am: installing './depcomp'
    Running autoconf ...
    Running ./configure --prefix=/usr --enable-progpath=/usr/bin ...
    configure: WARNING: unrecognized options: --enable-progpath
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking for g++... g++
    checking whether the C++ compiler works... yes
    checking for C++ compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking for style of include used by make... GNU
    checking dependency style of g++... gcc3
    checking for gcc... gcc
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking whether make sets $(MAKE)... (cached) yes
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking how to print strings... printf
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for mt... no
    checking if : is a manifest tool... no
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking how to run the C++ preprocessor... g++ -E
    checking for ld used by g++... /usr/bin/ld -m elf_x86_64
    checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC -DPIC
    checking if g++ PIC flag -fPIC -DPIC works... yes
    checking if g++ static flag -static works... yes
    checking if g++ supports -c -o file.o... yes
    checking if g++ supports -c -o file.o... (cached) yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking dynamic linker characteristics... (cached) GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking for ANSI C header files... (cached) yes
    checking for sys/wait.h that is POSIX.1 compatible... yes
    checking malloc.h usability... yes
    checking malloc.h presence... yes
    checking for malloc.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for an ANSI C-conforming const... yes
    checking for pid_t... yes
    checking vfork.h usability... no
    checking vfork.h presence... no
    checking for vfork.h... no
    checking for fork... yes
    checking for vfork... yes
    checking for working fork... yes
    checking for working vfork... (cached) yes
    checking for stdlib.h... (cached) yes
    checking for GNU libc compatible malloc... yes
    checking for dup2... yes
    checking for memset... yes
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating buftool/Makefile
    config.status: creating paramlist/Makefile
    config.status: creating config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    configure: WARNING: unrecognized options: --enable-progpath
    Now type `make' to compile buftool
    make all-recursive
    make[1]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs'
    Making all in paramlist
    make[2]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs/paramlist'
    /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -O2 -MT paramlist.lo -MD -MP -MF .deps/paramlist.Tpo -c -o paramlist.lo paramlist.c
    libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -O2 -MT paramlist.lo -MD -MP -MF .deps/paramlist.Tpo -c paramlist.c -fPIC -DPIC -o .libs/paramlist.o
    libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -O2 -MT paramlist.lo -MD -MP -MF .deps/paramlist.Tpo -c paramlist.c -o paramlist.o >/dev/null 2>&1
    mv -f .deps/paramlist.Tpo .deps/paramlist.Plo
    /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -Wall -O2 -Wl,-O1,--sort-common,--as-needed,-z,relro -o libparamlist.la paramlist.lo
    libtool: link: ar cru .libs/libparamlist.a .libs/paramlist.o
    libtool: link: ranlib .libs/libparamlist.a
    libtool: link: ( cd ".libs" && rm -f "libparamlist.la" && ln -s "../libparamlist.la" "libparamlist.la" )
    make[2]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs/paramlist'
    Making all in buftool
    make[2]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs/buftool'
    gcc -DHAVE_CONFIG_H -I. -I.. -O2 -MT buftool.o -MD -MP -MF .deps/buftool.Tpo -c -o buftool.o buftool.c
    mv -f .deps/buftool.Tpo .deps/buftool.Po
    gcc -DHAVE_CONFIG_H -I. -I.. -O2 -MT buflist.o -MD -MP -MF .deps/buflist.Tpo -c -o buflist.o buflist.c
    mv -f .deps/buflist.Tpo .deps/buflist.Po
    rm -f libbuftool.a
    ar cru libbuftool.a buftool.o buflist.o
    ranlib libbuftool.a
    make[2]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs/buftool'
    make[2]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs'
    make[2]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs'
    make[1]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs'
    Making install in paramlist
    make[1]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs/paramlist'
    make[2]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs/paramlist'
    make[2]: Nie ma nic do zrobienia w `install-exec-am'.
    make[2]: Nie ma nic do zrobienia w `install-data-am'.
    make[2]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs/paramlist'
    make[1]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs/paramlist'
    Making install in buftool
    make[1]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs/buftool'
    make[2]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs/buftool'
    make[2]: Nie ma nic do zrobienia w `install-exec-am'.
    make[2]: Nie ma nic do zrobienia w `install-data-am'.
    make[2]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs/buftool'
    make[1]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs/buftool'
    make[1]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs'
    make[2]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs'
    make[2]: Nie ma nic do zrobienia w `install-exec-am'.
    make[2]: Nie ma nic do zrobienia w `install-data-am'.
    make[2]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs'
    make[1]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs'
    ......... cngpij
    processing .
    Running libtoolize...
    libtoolize: putting auxiliary files in `.'.
    libtoolize: copying file `./ltmain.sh'
    libtoolize: You should add the contents of the following files to `aclocal.m4':
    libtoolize: `/usr/share/aclocal/libtool.m4'
    libtoolize: `/usr/share/aclocal/ltoptions.m4'
    libtoolize: `/usr/share/aclocal/ltversion.m4'
    libtoolize: `/usr/share/aclocal/ltsugar.m4'
    libtoolize: `/usr/share/aclocal/lt~obsolete.m4'
    libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
    libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
    libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
    Running aclocal ...
    aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
    Running autoheader...
    autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
    autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
    autoheader: WARNING: is deprecated and discouraged.
    autoheader:
    autoheader: WARNING: Using the third argument of `AC_DEFINE' and
    autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without
    autoheader: WARNING: `acconfig.h':
    autoheader:
    autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
    autoheader: [Define if a function `main' is needed.])
    autoheader:
    autoheader: WARNING: More sophisticated templates can also be produced, see the
    autoheader: WARNING: documentation.
    Running automake --gnu ...
    automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
    configure.in:2: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
    configure.in:2: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation
    configure.in:20: installing './config.guess'
    configure.in:20: installing './config.sub'
    configure.in:2: installing './install-sh'
    configure.in:2: installing './missing'
    cngpij/Makefile.am: installing './depcomp'
    automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
    Running autoconf ...
    Running ./configure --prefix=/usr --enable-progpath=/usr/bin ...
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking for g++... g++
    checking whether the C++ compiler works... yes
    checking for C++ compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking for style of include used by make... GNU
    checking dependency style of g++... gcc3
    checking for gcc... gcc
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking whether make sets $(MAKE)... (cached) yes
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking how to print strings... printf
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for mt... no
    checking if : is a manifest tool... no
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking how to run the C++ preprocessor... g++ -E
    checking for ld used by g++... /usr/bin/ld -m elf_x86_64
    checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC -DPIC
    checking if g++ PIC flag -fPIC -DPIC works... yes
    checking if g++ static flag -static works... yes
    checking if g++ supports -c -o file.o... yes
    checking if g++ supports -c -o file.o... (cached) yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking dynamic linker characteristics... (cached) GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking for main in -lcups... yes
    checking for main in -lparamlist... no
    checking for main in -lpopt... yes
    checking for ANSI C header files... (cached) yes
    checking for sys/wait.h that is POSIX.1 compatible... yes
    checking arpa/inet.h usability... yes
    checking arpa/inet.h presence... yes
    checking for arpa/inet.h... yes
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking netdb.h usability... yes
    checking netdb.h presence... yes
    checking for netdb.h... yes
    checking netinet/in.h usability... yes
    checking netinet/in.h presence... yes
    checking for netinet/in.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking sys/socket.h usability... yes
    checking sys/socket.h presence... yes
    checking for sys/socket.h... yes
    checking for unistd.h... (cached) yes
    checking for an ANSI C-conforming const... yes
    checking for size_t... yes
    checking for pid_t... yes
    checking vfork.h usability... no
    checking vfork.h presence... no
    checking for vfork.h... no
    checking for fork... yes
    checking for vfork... yes
    checking for working fork... yes
    checking for working vfork... (cached) yes
    checking for stdlib.h... (cached) yes
    checking for GNU libc compatible malloc... yes
    checking for memset... yes
    checking for socket... yes
    checking for strdup... yes
    checking for strrchr... yes
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating cngpij/Makefile
    config.status: creating config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    Now type `make' to compile
    make all-recursive
    make[1]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/cngpij'
    Making all in cngpij
    make[2]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/cngpij/cngpij'
    gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -I../include/cncl -I../include/misc -I../../libs/paramlist -O2 -MT bjcups.o -MD -MP -MF .deps/bjcups.Tpo -c -o bjcups.o bjcups.c
    mv -f .deps/bjcups.Tpo .deps/bjcups.Po
    gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -I../include/cncl -I../include/misc -I../../libs/paramlist -O2 -MT getipc.o -MD -MP -MF .deps/getipc.Tpo -c -o getipc.o getipc.c
    getipc.c: In function ‘GetIPCData’:
    getipc.c:63:48: warning: passing argument 3 of ‘accept’ from incompatible pointer type [enabled by default]
    In file included from /usr/include/netinet/in.h:24:0,
    from /usr/include/arpa/inet.h:22,
    from getipc.c:21:
    /usr/include/sys/socket.h:244:12: note: expected ‘socklen_t * __restrict__’ but argument is of type ‘size_t *’
    mv -f .deps/getipc.Tpo .deps/getipc.Po
    gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -I../include/cncl -I../include/misc -I../../libs/paramlist -O2 -MT bjutil.o -MD -MP -MF .deps/bjutil.Tpo -c -o bjutil.o bjutil.c
    mv -f .deps/bjutil.Tpo .deps/bjutil.Po
    /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -Wall -I../include/cncl -I../include/misc -I../../libs/paramlist -O2 -L../../libs/paramlist -Wl,-O1,--sort-common,--as-needed,-z,relro -o cngpij bjcups.o getipc.o bjutil.o -lpopt -lcups -lparamlist -lpopt -lcups
    libtool: link: gcc -O2 -Wall -I../include/cncl -I../include/misc -I../../libs/paramlist -O2 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -o cngpij bjcups.o getipc.o bjutil.o -L../../libs/paramlist /tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs/paramlist/.libs/libparamlist.a -lpopt -lcups
    make[2]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/cngpij/cngpij'
    make[2]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/cngpij'
    make[2]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/cngpij'
    make[1]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/cngpij'
    Making install in cngpij
    make[1]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/cngpij/cngpij'
    make[2]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/cngpij/cngpij'
    /usr/bin/mkdir -p '/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/pkg/usr/bin'
    /bin/sh ../libtool --mode=install /usr/bin/install -c cngpij '/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/pkg/usr/bin'
    libtool: install: /usr/bin/install -c cngpij /tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/pkg/usr/bin/cngpij
    make[2]: Nie ma nic do zrobienia w `install-data-am'.
    make[2]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/cngpij/cngpij'
    make[1]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/cngpij/cngpij'
    make[1]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/cngpij'
    make[2]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/cngpij'
    make[2]: Nie ma nic do zrobienia w `install-exec-am'.
    make[2]: Nie ma nic do zrobienia w `install-data-am'.
    make[2]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/cngpij'
    make[1]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/cngpij'
    ......... pstocanonij
    processing .
    Running libtoolize...
    libtoolize: putting auxiliary files in `.'.
    libtoolize: copying file `./ltmain.sh'
    libtoolize: You should add the contents of the following files to `aclocal.m4':
    libtoolize: `/usr/share/aclocal/libtool.m4'
    libtoolize: `/usr/share/aclocal/ltoptions.m4'
    libtoolize: `/usr/share/aclocal/ltversion.m4'
    libtoolize: `/usr/share/aclocal/ltsugar.m4'
    libtoolize: `/usr/share/aclocal/lt~obsolete.m4'
    libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
    libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
    libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
    libtoolize: `AC_PROG_RANLIB' is rendered obsolete by `LT_INIT'
    Running aclocal ...
    aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
    Running autoheader...
    autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
    autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
    autoheader: WARNING: is deprecated and discouraged.
    autoheader:
    autoheader: WARNING: Using the third argument of `AC_DEFINE' and
    autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without
    autoheader: WARNING: `acconfig.h':
    autoheader:
    autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
    autoheader: [Define if a function `main' is needed.])
    autoheader:
    autoheader: WARNING: More sophisticated templates can also be produced, see the
    autoheader: WARNING: documentation.
    Running automake --gnu ...
    automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
    configure.in:2: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
    configure.in:2: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation
    configure.in:22: installing './config.guess'
    configure.in:22: installing './config.sub'
    configure.in:2: installing './install-sh'
    configure.in:2: installing './missing'
    automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
    filter/Makefile.am: installing './depcomp'
    Running autoconf ...
    Running ./configure --prefix=/usr --enable-progpath=/usr/bin ...
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking for g++... g++
    checking whether the C++ compiler works... yes
    checking for C++ compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking for style of include used by make... GNU
    checking dependency style of g++... gcc3
    checking for gcc... gcc
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking how to run the C preprocessor... gcc -E
    checking whether ln -s works... yes
    checking whether make sets $(MAKE)... (cached) yes
    checking for ranlib... ranlib
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking how to print strings... printf
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... (cached) ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for mt... no
    checking if : is a manifest tool... no
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking how to run the C++ preprocessor... g++ -E
    checking for ld used by g++... /usr/bin/ld -m elf_x86_64
    checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC -DPIC
    checking if g++ PIC flag -fPIC -DPIC works... yes
    checking if g++ static flag -static works... yes
    checking if g++ supports -c -o file.o... yes
    checking if g++ supports -c -o file.o... (cached) yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking dynamic linker characteristics... (cached) GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking for main in -lcups... yes
    checking for main in -lparamlist... no
    checking for main in -lpopt... yes
    checking for ANSI C header files... (cached) yes
    checking for sys/wait.h that is POSIX.1 compatible... yes
    checking arpa/inet.h usability... yes
    checking arpa/inet.h presence... yes
    checking for arpa/inet.h... yes
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking malloc.h usability... yes
    checking malloc.h presence... yes
    checking for malloc.h... yes
    checking netdb.h usability... yes
    checking netdb.h presence... yes
    checking for netdb.h... yes
    checking netinet/in.h usability... yes
    checking netinet/in.h presence... yes
    checking for netinet/in.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking sys/socket.h usability... yes
    checking sys/socket.h presence... yes
    checking for sys/socket.h... yes
    checking for unistd.h... (cached) yes
    checking for an ANSI C-conforming const... yes
    checking for size_t... yes
    checking for pid_t... yes
    checking vfork.h usability... no
    checking vfork.h presence... no
    checking for vfork.h... no
    checking for fork... yes
    checking for vfork... yes
    checking for working fork... yes
    checking for working vfork... (cached) yes
    checking for stdlib.h... (cached) yes
    checking for GNU libc compatible malloc... yes
    checking for dup2... yes
    checking for memset... yes
    checking for socket... yes
    checking for strdup... yes
    checking for strrchr... yes
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating filter/Makefile
    config.status: creating config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    Now type `make' to compile
    make all-recursive
    make[1]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/pstocanonij'
    Making all in filter
    make[2]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/pstocanonij/filter'
    gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -I../../libs/buftool -O2 -MT pstocanonij.o -MD -MP -MF .deps/pstocanonij.Tpo -c -o pstocanonij.o pstocanonij.c
    pstocanonij.c: In function ‘get_ps_params’:
    pstocanonij.c:249:3: warning: pointer targets in passing argument 1 of ‘buflist_new’ differ in signedness [-Wpointer-sign]
    In file included from pstocanonij.c:35:0:
    ../../libs/buftool/buflist.h:38:10: note: expected ‘unsigned char *’ but argument is of type ‘char *’
    pstocanonij.c:299:5: warning: value computed is not used [-Wunused-value]
    pstocanonij.c:385:3: warning: pointer targets in passing argument 1 of ‘buflist_new’ differ in signedness [-Wpointer-sign]
    In file included from pstocanonij.c:35:0:
    ../../libs/buftool/buflist.h:38:10: note: expected ‘unsigned char *’ but argument is of type ‘char *’
    pstocanonij.c: In function ‘make_cmd_param’:
    pstocanonij.c:905:6: warning: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘char (*)[256]’ [-Wformat]
    pstocanonij.c:906:6: warning: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘char (*)[256]’ [-Wformat]
    pstocanonij.c:935:6: warning: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘char (*)[256]’ [-Wformat]
    pstocanonij.c:936:6: warning: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘char (*)[256]’ [-Wformat]
    pstocanonij.c: In function ‘exec_filter’:
    pstocanonij.c:1133:6: warning: variable ‘status’ set but not used [-Wunused-but-set-variable]
    mv -f .deps/pstocanonij.Tpo .deps/pstocanonij.Po
    gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -I../../libs/buftool -O2 -MT canonopt.o -MD -MP -MF .deps/canonopt.Tpo -c -o canonopt.o canonopt.c
    mv -f .deps/canonopt.Tpo .deps/canonopt.Po
    gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -I../../libs/buftool -O2 -MT paramlist.o -MD -MP -MF .deps/paramlist.Tpo -c -o paramlist.o paramlist.c
    mv -f .deps/paramlist.Tpo .deps/paramlist.Po
    /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -Wall -I../../libs/buftool -O2 -L../../libs/buftool -Wl,-O1,--sort-common,--as-needed,-z,relro -o pstocanonij pstocanonij.o canonopt.o paramlist.o -lcups ../../libs/buftool/libbuftool.a -lpopt -lcups
    libtool: link: gcc -O2 -Wall -I../../libs/buftool -O2 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -o pstocanonij pstocanonij.o canonopt.o paramlist.o -L../../libs/buftool ../../libs/buftool/libbuftool.a -lpopt -lcups
    make[2]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/pstocanonij/filter'
    make[2]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/pstocanonij'
    make[2]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/pstocanonij'
    make[1]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/pstocanonij'
    Making install in filter
    make[1]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/pstocanonij/filter'
    make[2]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/pstocanonij/filter'
    make[2]: Nie ma nic do zrobienia w `install-exec-am'.
    /usr/bin/mkdir -p '/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/pkg/usr/lib/cups/filter'
    /bin/sh ../libtool --mode=install /usr/bin/install -c pstocanonij '/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/pkg/usr/lib/cups/filter'
    libtool: install: /usr/bin/install -c pstocanonij /tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/pkg/usr/lib/cups/filter/pstocanonij
    make[2]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/pstocanonij/filter'
    make[1]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/pstocanonij/filter'
    make[1]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/pstocanonij'
    make[2]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/pstocanonij'
    make[2]: Nie ma nic do zrobienia w `install-exec-am'.
    make[2]: Nie ma nic do zrobienia w `install-data-am'.
    make[2]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/pstocanonij'
    make[1]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/pstocanonij'
    ......... backend
    processing .
    Running libtoolize...
    libtoolize: putting auxiliary files in `.'.
    libtoolize: copying file `./ltmain.sh'
    libtoolize: You should add the contents of the following files to `aclocal.m4':
    libtoolize: `/usr/share/aclocal/libtool.m4'
    libtoolize: `/usr/share/aclocal/ltoptions.m4'
    libtoolize: `/usr/share/aclocal/ltversion.m4'
    libtoolize: `/usr/share/aclocal/ltsugar.m4'
    libtoolize: `/usr/share/aclocal/lt~obsolete.m4'
    libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
    libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
    libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
    Running aclocal ...
    aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
    Running autoheader...
    autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
    autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
    autoheader: WARNING: is deprecated and discouraged.
    autoheader:
    autoheader: WARNING: Using the third argument of `AC_DEFINE' and
    autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without
    autoheader: WARNING: `acconfig.h':
    autoheader:
    autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
    autoheader: [Define if a function `main' is needed.])
    autoheader:
    autoheader: WARNING: More sophisticated templates can also be produced, see the
    autoheader: WARNING: documentation.
    Running automake --gnu ...
    automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
    configure.in:2: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
    configure.in:2: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation
    configure.in:19: installing './config.guess'
    configure.in:19: installing './config.sub'
    configure.in:2: installing './install-sh'
    configure.in:2: installing './missing'
    automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
    src/Makefile.am: installing './depcomp'
    src/Makefile.am:10: warning: 'CFLAGS' is a user variable, you should not override it;
    src/Makefile.am:10: use 'AM_CFLAGS' instead
    Running autoconf ...
    Running ./configure --prefix=/usr --enable-progpath=/usr/bin ...
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking for g++... g++
    checking whether the C++ compiler works... yes
    checking for C++ compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking for style of include used by make... GNU
    checking dependency style of g++... gcc3
    checking for gcc... gcc
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking whether make sets $(MAKE)... (cached) yes
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking how to print strings... printf
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for mt... no
    checking if : is a manifest tool... no
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking how to run the C++ preprocessor... g++ -E
    checking for ld used by g++... /usr/bin/ld -m elf_x86_64
    checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC -DPIC
    checking if g++ PIC flag -fPIC -DPIC works... yes
    checking if g++ static flag -static works... yes
    checking if g++ supports -c -o file.o... yes
    checking if g++ supports -c -o file.o... (cached) yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking dynamic linker characteristics... (cached) GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking for main in -lcups... yes
    checking for ANSI C header files... (cached) yes
    checking for sys/wait.h that is POSIX.1 compatible... yes
    checking arpa/inet.h usability... yes
    checking arpa/inet.h presence... yes
    checking for arpa/inet.h... yes
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking netdb.h usability... yes
    checking netdb.h presence... yes
    checking for netdb.h... yes
    checking netinet/in.h usability... yes
    checking netinet/in.h presence... yes
    checking for netinet/in.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking sys/socket.h usability... yes
    checking sys/socket.h presence... yes
    checking for sys/socket.h... yes
    checking for unistd.h... (cached) yes
    checking for an ANSI C-conforming const... yes
    checking for size_t... yes
    checking for pid_t... yes
    checking vfork.h usability... no
    checking vfork.h presence... no
    checking for vfork.h... no
    checking for fork... yes
    checking for vfork... yes
    checking for working fork... yes
    checking for working vfork... (cached) yes
    checking for stdlib.h... (cached) yes
    checking for GNU libc compatible malloc... yes
    checking for memset... yes
    checking for socket... yes
    checking for strdup... yes
    checking for strrchr... yes
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    Now type `make' to compile
    make all-recursive
    make[1]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/backend'
    Making all in src
    make[2]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/backend/src'
    gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -MT cnij_backend_common.o -MD -MP -MF .deps/cnij_backend_common.Tpo -c -o cnij_backend_common.o cnij_backend_common.c
    mv -f .deps/cnij_backend_common.Tpo .deps/cnij_backend_common.Po
    gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -MT cnij_usb.o -MD -MP -MF .deps/cnij_usb.Tpo -c -o cnij_usb.o cnij_usb.c
    cnij_usb.c: In function ‘main’:
    cnij_usb.c:97:7: warning: unused variable ‘port’ [-Wunused-variable]
    cnij_usb.c:94:4: warning: unused variable ‘username’ [-Wunused-variable]
    cnij_usb.c:93:4: warning: unused variable ‘hostname’ [-Wunused-variable]
    cnij_usb.c:92:7: warning: unused variable ‘method’ [-Wunused-variable]
    mv -f .deps/cnij_usb.Tpo .deps/cnij_usb.Po
    /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -Wall -Wl,-O1,--sort-common,--as-needed,-z,relro -o cnijusb cnij_backend_common.o cnij_usb.o -lcups -lcups
    libtool: link: gcc -O2 -Wall -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -o cnijusb cnij_backend_common.o cnij_usb.o -lcups
    make[2]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/backend/src'
    make[2]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/backend'
    make[2]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/backend'
    make[1]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/backend'
    Making install in src
    make[1]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/backend/src'
    make[2]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/backend/src'
    make[2]: Nie ma nic do zrobienia w `install-exec-am'.
    /usr/bin/mkdir -p '/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/pkg/usr/lib/cups/backend'
    /bin/sh ../libtool --mode=install /usr/bin/install -c cnijusb '/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/pkg/usr/lib/cups/backend'
    libtool: install: /usr/bin/install -c cnijusb /tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/pkg/usr/lib/cups/backend/cnijusb
    make[2]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/backend/src'
    make[1]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/backend/src'
    make[1]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/backend'
    make[2]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/backend'
    make[2]: Nie ma nic do zrobienia w `install-exec-am'.
    make[2]: Nie ma nic do zrobienia w `install-data-am'.
    make[2]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/backend'
    make[1]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/backend'
    . ip1900
    .......... lgmon
    processing .
    Running aclocal ...
    aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
    configure.in:12: error: 'AM_CONFIG_HEADER': this macro is obsolete.
    You should use the 'AC_CONFIG_HEADERS' macro instead.
    /usr/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from...
    configure.in:12: the top level
    autom4te: /usr/bin/m4 failed with exit status: 1
    aclocal: error: echo failed with exit status: 1
    Running autoheader...
    autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
    autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
    autoheader: WARNING: is deprecated and discouraged.
    autoheader:
    autoheader: WARNING: Using the third argument of `AC_DEFINE' and
    autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without
    autoheader: WARNING: `acconfig.h':
    autoheader:
    autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
    autoheader: [Define if a function `main' is needed.])
    autoheader:
    autoheader: WARNING: More sophisticated templates can also be produced, see the
    autoheader: WARNING: documentation.
    autoheader: error: AC_CONFIG_HEADERS not found in configure.in
    Running automake --gnu ...
    automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
    configure.in: error: no proper invocation of AM_INIT_AUTOMAKE was found.
    configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
    configure.in: that aclocal.m4 is present in the top-level directory,
    configure.in: and that aclocal.m4 was recently regenerated (using aclocal)
    src/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
    automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
    src/Makefile.am: installing './depcomp'
    /usr/share/automake-1.13/am/depend2.am: error: am__fastdepCC does not appear in AM_CONDITIONAL
    /usr/share/automake-1.13/am/depend2.am: The usual way to define 'am__fastdepCC' is to add 'AC_PROG_CC'
    /usr/share/automake-1.13/am/depend2.am: to 'configure.in' and run 'aclocal' and 'autoconf' again
    /usr/share/automake-1.13/am/depend2.am: error: AMDEP does not appear in AM_CONDITIONAL
    /usr/share/automake-1.13/am/depend2.am: The usual way to define 'AMDEP' is to add one of the compiler tests
    /usr/share/automake-1.13/am/depend2.am: AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC, AC_PROG_OBJCXX,
    /usr/share/automake-1.13/am/depend2.am: AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC
    /usr/share/automake-1.13/am/depend2.am: to 'configure.in' and run 'aclocal' and 'autoconf' again
    Running autoconf ...
    configure.in:11: error: possibly undefined macro: AM_INIT_AUTOMAKE
    If this token and others are legitimate, please use m4_pattern_allow.
    See the Autoconf documentation.
    configure.in:12: error: possibly undefined macro: AM_CONFIG_HEADER
    configure.in:27: error: possibly undefined macro: AM_PROG_CC_STDC
    configure.in:31: error: possibly undefined macro: AM_PATH_GTK_2_0
    Running ./configure --prefix=/usr --enable-libpath=/usr/lib/bjlib --enable-binpath=/usr/bin --enable-progpath=/usr/bin --program-suffix=ip1900 ...
    configure: WARNING: unrecognized options: --enable-libpath, --enable-binpath
    ./configure: line 1886: syntax error near unexpected token `lgmon{program_suffix},'
    ./configure: line 1886: `AM_INIT_AUTOMAKE(lgmon{program_suffix}, 3.00-1)'
    ==> BŁĄD: Wystąpił błąd w build().
    Przerywam...
    Before both:
    ==> Zaczynam build()
    patching file backend/src/cnij_backend_common.c
    patching file cngpijmon/src/bjcupsmon_cups.c
    ......... libs
    processing .
    Running libtoolize...
    libtoolize: putting auxiliary files in `.'.
    libtoolize: copying file `./ltmain.sh'
    libtoolize: You should add the contents of the following files to `aclocal.m4':
    libtoolize: `/usr/share/aclocal/libtool.m4'
    libtoolize: `/usr/share/aclocal/ltoptions.m4'
    libtoolize: `/usr/share/aclocal/ltversion.m4'
    libtoolize: `/usr/share/aclocal/ltsugar.m4'
    libtoolize: `/usr/share/aclocal/lt~obsolete.m4'
    libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
    libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
    libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
    Running aclocal ...
    aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
    Running autoheader...
    Running automake --gnu ...
    automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
    configure.in:2: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see:
    configure.in:2: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation
    configure.in:11: installing './config.guess'
    configure.in:11: installing './config.sub'
    configure.in:2: installing './install-sh'
    configure.in:2: installing './missing'
    Makefile.am: installing './COPYING' using GNU General Public License v3 file
    Makefile.am: Consider adding the COPYING file to the version control system
    Makefile.am: for your code, to avoid questions about which license your project uses
    automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
    buftool/Makefile.am: installing './depcomp'
    Running autoconf ...
    Running ./configure --prefix=/usr --enable-progpath=/usr/bin ...
    configure: WARNING: unrecognized options: --enable-progpath
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking for g++... g++
    checking whether the C++ compiler works... yes
    checking for C++ compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking for style of include used by make... GNU
    checking dependency style of g++... gcc3
    checking for gcc... gcc
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking whether make sets $(MAKE)... (cached) yes
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking how to print strings... printf
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for mt... no
    checking if : is a manifest tool... no
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking how to run the C++ preprocessor... g++ -E
    checking for ld used by g++... /usr/bin/ld -m elf_x86_64
    checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC -DPIC
    checking if g++ PIC flag -fPIC -DPIC works... yes
    checking if g++ static flag -static works... yes
    checking if g++ supports -c -o file.o... yes
    checking if g++ supports -c -o file.o... (cached) yes
    checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking dynamic linker characteristics... (cached) GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking for ANSI C header files... (cached) yes
    checking for sys/wait.h that is POSIX.1 compatible... yes
    checking malloc.h usability... yes
    checking malloc.h presence... yes
    checking for malloc.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for an ANSI C-conforming const... yes
    checking for pid_t... yes
    checking vfork.h usability... no
    checking vfork.h presence... no
    checking for vfork.h... no
    checking for fork... yes
    checking for vfork... yes
    checking for working fork... yes
    checking for working vfork... (cached) yes
    checking for stdlib.h... (cached) yes
    checking for GNU libc compatible malloc... yes
    checking for dup2... yes
    checking for memset... yes
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating buftool/Makefile
    config.status: creating paramlist/Makefile
    config.status: creating config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    configure: WARNING: unrecognized options: --enable-progpath
    Now type `make' to compile buftool
    make all-recursive
    make[1]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs'
    Making all in paramlist
    make[2]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs/paramlist'
    /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -O2 -MT paramlist.lo -MD -MP -MF .deps/paramlist.Tpo -c -o paramlist.lo paramlist.c
    libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -O2 -MT paramlist.lo -MD -MP -MF .deps/paramlist.Tpo -c paramlist.c -fPIC -DPIC -o .libs/paramlist.o
    libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -O2 -MT paramlist.lo -MD -MP -MF .deps/paramlist.Tpo -c paramlist.c -o paramlist.o >/dev/null 2>&1
    mv -f .deps/paramlist.Tpo .deps/paramlist.Plo
    /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -Wall -O2 -Wl,-O1,--sort-common,--as-needed,-z,relro -o libparamlist.la paramlist.lo
    libtool: link: ar cru .libs/libparamlist.a .libs/paramlist.o
    libtool: link: ranlib .libs/libparamlist.a
    libtool: link: ( cd ".libs" && rm -f "libparamlist.la" && ln -s "../libparamlist.la" "libparamlist.la" )
    make[2]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs/paramlist'
    Making all in buftool
    make[2]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs/buftool'
    gcc -DHAVE_CONFIG_H -I. -I.. -O2 -MT buftool.o -MD -MP -MF .deps/buftool.Tpo -c -o buftool.o buftool.c
    mv -f .deps/buftool.Tpo .deps/buftool.Po
    gcc -DHAVE_CONFIG_H -I. -I.. -O2 -MT buflist.o -MD -MP -MF .deps/buflist.Tpo -c -o buflist.o buflist.c
    mv -f .deps/buflist.Tpo .deps/buflist.Po
    rm -f libbuftool.a
    ar cru libbuftool.a buftool.o buflist.o
    ranlib libbuftool.a
    make[2]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs/buftool'
    make[2]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs'
    make[2]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs'
    make[1]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs'
    Making install in paramlist
    make[1]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs/paramlist'
    make[2]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs/paramlist'
    make[2]: Nie ma nic do zrobienia w `install-exec-am'.
    make[2]: Nie ma nic do zrobienia w `install-data-am'.
    make[2]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs/paramlist'
    make[1]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs/paramlist'
    Making install in buftool
    make[1]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs/buftool'
    make[2]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs/buftool'
    make[2]: Nie ma nic do zrobienia w `install-exec-am'.
    make[2]: Nie ma nic do zrobienia w `install-data-am'.
    make[2]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs/buftool'
    make[1]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs/buftool'
    make[1]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs'
    make[2]: Wejście do katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs'
    make[2]: Nie ma nic do zrobienia w `install-exec-am'.
    make[2]: Nie ma nic do zrobienia w `install-data-am'.
    make[2]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs'
    make[1]: Opuszczenie katalogu `/tmp/yaourt-tmp-kierek/aur-cups-canon-3.00/src/cnijfilter-common-3.00/libs'
    ......... cngpij
    processing .
    Running libtoolize...
    libtoolize: putting auxiliary files in `.'.
    libtoolize: copying file `./ltmain.sh'
    libtoolize: You should add the contents of the following files to `aclocal.m4':
    libtoolize: `/usr/share/aclocal/libtool.m4'
    libtoolize: `/usr/share/aclocal/ltoptions.m4'
    libtoolize: `/usr/share/aclocal/ltversion.m4'
    libtoolize: `/usr/share/aclocal/ltsugar.m4'
    libtoolize: `/usr/share/aclocal/lt~obsolete.m4'
    libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
    libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
    libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
    Running aclocal ...
    aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
    Running autoheader...
    autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
    autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
    autoheader: WARNING: is deprecated and discouraged.
    autoheader:
    autoheader: WARNING: Using the third argument of `AC_DEFINE' and
    autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without
    autoheader: WARNING: `acconfig.h':
    autoheader:
    autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
    autoheader: [Define if a function `main' is needed.])
    autoheader:
    autoheader: WARNING: More sophisticated templates can also be produced, see the
    autoheader: WARNING: documentation.

  • [SOLVED] How to get NetworkManager start on background during boot?

    NetworkManager has always taken relatively long time to start during boot, presumably waiting for wlan to connect.
    $ systemd-analyze blame
    7.682s NetworkManager.service
    Previously I was able to get it to start on background by removing /etc/systemd/system/multi-user.target.wants/NetworkManager.service
    This prevented multi-user.target from waiting for NM to start and it would continue to connect on background while my boot finishes.
    However, after upgrade to networkmanager-0.9.10.0-2 that doesn't seem work any more.
    If I remove the .service file from multi-user.target.wants/, NetworkManager doesn't start during boot at all.
    enabling NetworkManager.service creates these symlinks:
    # systemctl enable NetworkManager
    Created symlink from /etc/systemd/system/dbus-org.freedesktop.NetworkManager.service to /usr/lib/systemd/system/NetworkManager.service.
    Created symlink from /etc/systemd/system/multi-user.target.wants/NetworkManager.service to /usr/lib/systemd/system/NetworkManager.service.
    Created symlink from /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service to /usr/lib/systemd/system/NetworkManager-dispatcher.service.
    looks like enabling any other basic systemd unit links the .service file to multi-user.target.wants/ as well..
    How can I enable NetworkManager.service during boot without multi-user.target.wants/, and get it to start on background again?
    any ideas appreciated :)
    Last edited by ooo (2014-08-03 12:13:28)

    Okay, looks like this can be resolved by simply changing the NetworkManager.service type from dbus to forking.
    $ systemd-analyze blame
    173ms NetworkManager.service
    Here's the modified service file if anyone's interested:
    place it in /etc/systemd/system/NetworkManager.service
    [Unit]
    Description=Network Manager
    Wants=network.target
    Before=network.target
    [Service]
    Type=forking
    PIDFile=/var/run/NetworkManager.pid
    BusName=org.freedesktop.NetworkManager
    ExecStart=/usr/bin/NetworkManager --pid-file=/var/run/NetworkManager.pid
    # NM doesn't want systemd to kill its children for it
    KillMode=process
    [Install]
    WantedBy=multi-user.target
    Alias=dbus-org.freedesktop.NetworkManager.service
    Also=NetworkManager-dispatcher.service
    You need to disable NetworkManager.service before creating the file and enable it after so that systemd links the file from /etc/systemd instead of /usr/lib/systemd,
    there may be simpler way but I can't be bothered to go through systemd manuals any more.
    Note that this will probably break any systemd .service that actually requires network, although that was the case with my previous workaround as well.
    I won't guarantee this will work for you and won't set your machine on fire. If you have issues, simply remove the file and re-enable to go back to default

  • DBMS_SCHEDULER and Shell Script on 10.2.0.1

    Hi All
    My env, Oracle 10.2.0.1 and OS is Solaris.
    My script can run on OS that is work without error that contain create file, delete file, call sqlplus, function to get value from database and return to OS variables.
    In shell script some code as below
    get_val () {
    sqlplus -s /nolog <<EOF
    conn test/test
    set heading off
    set feedback off
    set pages 0
    SELECT SUBSTR (SYS_CONNECT_BY_PATH (Z, ' '), 2) z
          FROM (SELECT NAMEDQUERY , ROW_NUMBER () OVER (ORDER BY Z) rn,
                       COUNT (*) OVER () cnt
                  FROM X
                  WHERE Z LIKE '%FULL')
         WHERE rn = cnt
    START WITH rn = 1
    CONNECT BY rn = PRIOR rn + 1;
    EOF
    vx=$(get_val)
    if [ ${#vx} -gt 0 ]; then
    for xfile in $vx
    do
    rm -f $CURRDIR/$xfile.txt 2> /dev/null
    done
    fi
    When run by dbms_scheduler that show below error
    ORA-27369: job of type EXECUTABLE failed with exit code: No such file or directory
    STANDARD_ERROR="/home/oracle/script/test.sh: syntax error at line 26: `vx=$' unexpected
    How to resolve above error?  (owner of $CURRDIR/$xfile.txt is oracle user)
    One more question, How to force dbms_scheduler that using user oracle (OS) to run shell script?, as I know, default user is nobody and Oracle version 10.2.0.2 later that have external.job.ora to set it but 10.2.0.1 doesn't have it.
    Thank you in advance,
    Hiko

    I changed scheduler by set argument as below
    dbms_scheduler.create_job (job_name=>'TEST',job_type=>'EXECUTABLE',job_action=>'/usr/bin/bash',number_of_arguments=>1);
    dbms_scheduler.set_job_argument_value('TEST',1,argument_value,'/home/oracle/test.sh');
    That is work. below is conclusion to did
    1. Change permission of $ORACLE_HOME/bin/extjob to 4750 (-rwsr-x---)
    2. Change owner of $ORACLE_HOME/bin/extjob to oracle:dba
    3. Use '/usr/bin/bash' instead of '/usr/bin/sh'
    But I found error about download file process that I'm using wget to download source file in shell script and run by dbms_scheduler as above.
    My problem, first file can download normally and process until finish but second file was hang.
    Do you have any idea or solution to prove and resolve it?
    Thank you,
    Hiko

  • I have an "Command set ID" with value "A" in SPAD tansx with com. to transf

    Hello
    Does anyone knows how a device in "spad" transaction functions (in Unix)
    Under Access method"L:Print Locally Using LP/LPR") I have an Command set ID with value "A" .
    Under mentioned "command set" I have :
    "command to transfer data " set to " /usr/bin/cat &F >/usr/sap/planning/REMINDER&N.txt". What does that means.
    Does it mean any printout is copied to "/usr/sap/planning/REMINDER&N.txt" file? Also corrupted (not finished...) ones?
    what is the name of file under "/usr/bin/cat ". Is it always the same? is it copied in same format (what
    "&F >/" means?)?
    Thx in advance

    Hai,
    Command set id option in SAP helps to override the DEFAULT SAP parameter for the command that a print program should use to have a host spooler perform an output request.
    Default parameter is  rspo/host_spool/print.
    You can specifically give a command to your printer through this option, COMMAND SET ID.
    Here " /usr/bin/cat &F >/usr/sap/planning/REMINDER&N.txt" is the command which helps thr spooler to direct your output.
    /usr/bin -- is the directory under which it has all the commands for UNIX.
    /usr/bin/cat -- where 'cat' is a command, cat command reads one or more files and prints them to standard output. The operator > can be used to combine multiple files into one.
    &F Name of the file to be printed (with path specification).
    /usr/sap/planning/REMINDER&N.txt  -- is where you can find your output.
    You can even use /usr/bin/cp instead of usr/bin/cat here the former command copies to another file after the &F option.
    You can use any type of commands, please check the below link.
    Also you can use this command set option for Null printers were you dont need the printouts but only the spool. Here you can set the command as 'cp &F /dev/null' were the output is redireted to /dev/null path at the OS level.
    http://help.sap.com/saphelp_nw04/helpdata/EN/d9/4a8eb751ea11d189570000e829fbbd/frameset.htm
    Regards,
    Yoganand.V

Maybe you are looking for