Compiling Pacman on Debian System [SOLVED]

Hi,
I am trying to compile pacman on a Debian system. I get the following error:
/bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -g -O2 -Wall -MT package.lo -MD -MP -MF .deps/package.Tpo -c -o package.lo package.c
gcc -std=gnu99 -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -g -O2 -Wall -MT package.lo -MD -MP -MF .deps/package.Tpo -c package.c -fPIC -DPIC -o .libs/package.o
package.c: In function 'alpm_pkg_changelog_open':
package.c:529: warning: implicit declaration of function 'archive_read_open_filename'
package.c: In function 'alpm_pkg_changelog_close':
package.c:597: error: void value not ignored as it ought to be
make[1]: *** [package.lo] Error 1
make[1]: Leaving directory `/root/pacman-3.1.2/lib/libalpm'
make: *** [all-recursive] Error 1
I tried a couple different versions of pacman and I always get this error. What could this be?
Thanks!
nagoola
Last edited by nagoola (2008-05-14 09:55:05)

It looks like you need libarchive > 2.  See this part of archive.c in v2.4.17
#if ARCHIVE_API_VERSION > 1
int archive_read_finish(struct archive *);
#else
/* Temporarily allow library to compile with either 1.x or 2.0 API. */
/* Erroneously declared to return void in libarchive 1.x */
void archive_read_finish(struct archive *);
#endif
So there was a change in the declaration of the function used on the offending line between libarchive versions.

Similar Messages

  • [SOLVED] Cannot Compile Pacman 3.5.3

    My head is aching at the moment as I have become desperate to compile Pacman. The normal procedure ./configure then make fails with this error (Honest, I can't make out anything, it sound like a libtool problem):
    make all-recursive
    make[1]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3'
    Making all in lib/libalpm
    make[2]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3/lib/libalpm'
    Making all in po
    make[3]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3/lib/libalpm/po'
    make[3]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3/lib/libalpm/po'
    make[3]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3/lib/libalpm'
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT add.lo -MD -MP -MF .deps/add.Tpo -c -o add.lo add.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT add.lo -MD -MP -MF .deps/add.Tpo -c add.c -fPIC -DPIC -o .libs/add.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT add.lo -MD -MP -MF .deps/add.Tpo -c add.c -o add.o >/dev/null 2>&1
    mv -f .deps/add.Tpo .deps/add.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT alpm.lo -MD -MP -MF .deps/alpm.Tpo -c -o alpm.lo alpm.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT alpm.lo -MD -MP -MF .deps/alpm.Tpo -c alpm.c -fPIC -DPIC -o .libs/alpm.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT alpm.lo -MD -MP -MF .deps/alpm.Tpo -c alpm.c -o alpm.o >/dev/null 2>&1
    mv -f .deps/alpm.Tpo .deps/alpm.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT alpm_list.lo -MD -MP -MF .deps/alpm_list.Tpo -c -o alpm_list.lo alpm_list.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT alpm_list.lo -MD -MP -MF .deps/alpm_list.Tpo -c alpm_list.c -fPIC -DPIC -o .libs/alpm_list.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT alpm_list.lo -MD -MP -MF .deps/alpm_list.Tpo -c alpm_list.c -o alpm_list.o >/dev/null 2>&1
    mv -f .deps/alpm_list.Tpo .deps/alpm_list.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT backup.lo -MD -MP -MF .deps/backup.Tpo -c -o backup.lo backup.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT backup.lo -MD -MP -MF .deps/backup.Tpo -c backup.c -fPIC -DPIC -o .libs/backup.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT backup.lo -MD -MP -MF .deps/backup.Tpo -c backup.c -o backup.o >/dev/null 2>&1
    mv -f .deps/backup.Tpo .deps/backup.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT be_local.lo -MD -MP -MF .deps/be_local.Tpo -c -o be_local.lo be_local.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT be_local.lo -MD -MP -MF .deps/be_local.Tpo -c be_local.c -fPIC -DPIC -o .libs/be_local.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT be_local.lo -MD -MP -MF .deps/be_local.Tpo -c be_local.c -o be_local.o >/dev/null 2>&1
    mv -f .deps/be_local.Tpo .deps/be_local.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT be_package.lo -MD -MP -MF .deps/be_package.Tpo -c -o be_package.lo be_package.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT be_package.lo -MD -MP -MF .deps/be_package.Tpo -c be_package.c -fPIC -DPIC -o .libs/be_package.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT be_package.lo -MD -MP -MF .deps/be_package.Tpo -c be_package.c -o be_package.o >/dev/null 2>&1
    mv -f .deps/be_package.Tpo .deps/be_package.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT be_sync.lo -MD -MP -MF .deps/be_sync.Tpo -c -o be_sync.lo be_sync.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT be_sync.lo -MD -MP -MF .deps/be_sync.Tpo -c be_sync.c -fPIC -DPIC -o .libs/be_sync.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT be_sync.lo -MD -MP -MF .deps/be_sync.Tpo -c be_sync.c -o be_sync.o >/dev/null 2>&1
    mv -f .deps/be_sync.Tpo .deps/be_sync.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT conflict.lo -MD -MP -MF .deps/conflict.Tpo -c -o conflict.lo conflict.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT conflict.lo -MD -MP -MF .deps/conflict.Tpo -c conflict.c -fPIC -DPIC -o .libs/conflict.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT conflict.lo -MD -MP -MF .deps/conflict.Tpo -c conflict.c -o conflict.o >/dev/null 2>&1
    mv -f .deps/conflict.Tpo .deps/conflict.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT db.lo -MD -MP -MF .deps/db.Tpo -c -o db.lo db.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT db.lo -MD -MP -MF .deps/db.Tpo -c db.c -fPIC -DPIC -o .libs/db.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT db.lo -MD -MP -MF .deps/db.Tpo -c db.c -o db.o >/dev/null 2>&1
    mv -f .deps/db.Tpo .deps/db.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT delta.lo -MD -MP -MF .deps/delta.Tpo -c -o delta.lo delta.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT delta.lo -MD -MP -MF .deps/delta.Tpo -c delta.c -fPIC -DPIC -o .libs/delta.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT delta.lo -MD -MP -MF .deps/delta.Tpo -c delta.c -o delta.o >/dev/null 2>&1
    mv -f .deps/delta.Tpo .deps/delta.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT deps.lo -MD -MP -MF .deps/deps.Tpo -c -o deps.lo deps.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT deps.lo -MD -MP -MF .deps/deps.Tpo -c deps.c -fPIC -DPIC -o .libs/deps.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT deps.lo -MD -MP -MF .deps/deps.Tpo -c deps.c -o deps.o >/dev/null 2>&1
    mv -f .deps/deps.Tpo .deps/deps.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT diskspace.lo -MD -MP -MF .deps/diskspace.Tpo -c -o diskspace.lo diskspace.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT diskspace.lo -MD -MP -MF .deps/diskspace.Tpo -c diskspace.c -fPIC -DPIC -o .libs/diskspace.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT diskspace.lo -MD -MP -MF .deps/diskspace.Tpo -c diskspace.c -o diskspace.o >/dev/null 2>&1
    mv -f .deps/diskspace.Tpo .deps/diskspace.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT dload.lo -MD -MP -MF .deps/dload.Tpo -c -o dload.lo dload.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT dload.lo -MD -MP -MF .deps/dload.Tpo -c dload.c -fPIC -DPIC -o .libs/dload.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT dload.lo -MD -MP -MF .deps/dload.Tpo -c dload.c -o dload.o >/dev/null 2>&1
    mv -f .deps/dload.Tpo .deps/dload.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c -o error.lo error.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -fPIC -DPIC -o .libs/error.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -o error.o >/dev/null 2>&1
    mv -f .deps/error.Tpo .deps/error.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT group.lo -MD -MP -MF .deps/group.Tpo -c -o group.lo group.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT group.lo -MD -MP -MF .deps/group.Tpo -c group.c -fPIC -DPIC -o .libs/group.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT group.lo -MD -MP -MF .deps/group.Tpo -c group.c -o group.o >/dev/null 2>&1
    mv -f .deps/group.Tpo .deps/group.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT handle.lo -MD -MP -MF .deps/handle.Tpo -c -o handle.lo handle.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT handle.lo -MD -MP -MF .deps/handle.Tpo -c handle.c -fPIC -DPIC -o .libs/handle.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT handle.lo -MD -MP -MF .deps/handle.Tpo -c handle.c -o handle.o >/dev/null 2>&1
    mv -f .deps/handle.Tpo .deps/handle.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT log.lo -MD -MP -MF .deps/log.Tpo -c -o log.lo log.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT log.lo -MD -MP -MF .deps/log.Tpo -c log.c -fPIC -DPIC -o .libs/log.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT log.lo -MD -MP -MF .deps/log.Tpo -c log.c -o log.o >/dev/null 2>&1
    mv -f .deps/log.Tpo .deps/log.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT package.lo -MD -MP -MF .deps/package.Tpo -c -o package.lo package.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT package.lo -MD -MP -MF .deps/package.Tpo -c package.c -fPIC -DPIC -o .libs/package.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT package.lo -MD -MP -MF .deps/package.Tpo -c package.c -o package.o >/dev/null 2>&1
    mv -f .deps/package.Tpo .deps/package.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT pkghash.lo -MD -MP -MF .deps/pkghash.Tpo -c -o pkghash.lo pkghash.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT pkghash.lo -MD -MP -MF .deps/pkghash.Tpo -c pkghash.c -fPIC -DPIC -o .libs/pkghash.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT pkghash.lo -MD -MP -MF .deps/pkghash.Tpo -c pkghash.c -o pkghash.o >/dev/null 2>&1
    mv -f .deps/pkghash.Tpo .deps/pkghash.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT remove.lo -MD -MP -MF .deps/remove.Tpo -c -o remove.lo remove.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT remove.lo -MD -MP -MF .deps/remove.Tpo -c remove.c -fPIC -DPIC -o .libs/remove.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT remove.lo -MD -MP -MF .deps/remove.Tpo -c remove.c -o remove.o >/dev/null 2>&1
    mv -f .deps/remove.Tpo .deps/remove.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT sync.lo -MD -MP -MF .deps/sync.Tpo -c -o sync.lo sync.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT sync.lo -MD -MP -MF .deps/sync.Tpo -c sync.c -fPIC -DPIC -o .libs/sync.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT sync.lo -MD -MP -MF .deps/sync.Tpo -c sync.c -o sync.o >/dev/null 2>&1
    mv -f .deps/sync.Tpo .deps/sync.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT trans.lo -MD -MP -MF .deps/trans.Tpo -c -o trans.lo trans.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT trans.lo -MD -MP -MF .deps/trans.Tpo -c trans.c -fPIC -DPIC -o .libs/trans.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT trans.lo -MD -MP -MF .deps/trans.Tpo -c trans.c -o trans.o >/dev/null 2>&1
    mv -f .deps/trans.Tpo .deps/trans.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT util.lo -MD -MP -MF .deps/util.Tpo -c -o util.lo util.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.c -fPIC -DPIC -o .libs/util.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.c -o util.o >/dev/null 2>&1
    mv -f .deps/util.Tpo .deps/util.Plo
    /bin/sh ../../libtool --tag=CC --mode=compile gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT version.lo -MD -MP -MF .deps/version.Tpo -c -o version.lo version.c
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT version.lo -MD -MP -MF .deps/version.Tpo -c version.c -fPIC -DPIC -o .libs/version.o
    libtool: compile: gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I../.. -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -MT version.lo -MD -MP -MF .deps/version.Tpo -c version.c -o version.o >/dev/null 2>&1
    mv -f .deps/version.Tpo .deps/version.Plo
    /bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -pedantic -D_GNU_SOURCE -fvisibility=internal -fgnu89-inline -g -O2 -Wall -no-undefined -version-info 6:3:0 -o libalpm.la -rpath /usr/local/lib add.lo alpm.lo alpm_list.lo backup.lo be_local.lo be_package.lo be_sync.lo conflict.lo db.lo delta.lo deps.lo diskspace.lo dload.lo error.lo group.lo handle.lo log.lo package.lo pkghash.lo remove.lo sync.lo trans.lo util.lo version.lo -lfetch -lssl -larchive
    libtool: link: gcc -std=gnu99 -shared -fPIC -DPIC .libs/add.o .libs/alpm.o .libs/alpm_list.o .libs/backup.o .libs/be_local.o .libs/be_package.o .libs/be_sync.o .libs/conflict.o .libs/db.o .libs/delta.o .libs/deps.o .libs/diskspace.o .libs/dload.o .libs/error.o .libs/group.o .libs/handle.o .libs/log.o .libs/package.o .libs/pkghash.o .libs/remove.o .libs/sync.o .libs/trans.o .libs/util.o .libs/version.o -lfetch -lssl /usr/lib/libarchive.so -lacl -lattr -lexpat -llzma -lbz2 -lz -lcrypto -O2 -Wl,-soname -Wl,libalpm.so.6 -o .libs/libalpm.so.6.0.3
    libtool: link: (cd ".libs" && rm -f "libalpm.so.6" && ln -s "libalpm.so.6.0.3" "libalpm.so.6")
    libtool: link: (cd ".libs" && rm -f "libalpm.so" && ln -s "libalpm.so.6.0.3" "libalpm.so")
    libtool: link: ar cru .libs/libalpm.a add.o alpm.o alpm_list.o backup.o be_local.o be_package.o be_sync.o conflict.o db.o delta.o deps.o diskspace.o dload.o error.o group.o handle.o log.o package.o pkghash.o remove.o sync.o trans.o util.o version.o
    libtool: link: ranlib .libs/libalpm.a
    libtool: link: ( cd ".libs" && rm -f "libalpm.la" && ln -s "../libalpm.la" "libalpm.la" )
    make[3]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3/lib/libalpm'
    make[2]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3/lib/libalpm'
    Making all in src/util
    make[2]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3/src/util'
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT vercmp.o -MD -MP -MF .deps/vercmp.Tpo -c -o vercmp.o vercmp.c
    mv -f .deps/vercmp.Tpo .deps/vercmp.Po
    /bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -pedantic -D_GNU_SOURCE -g -O2 -Wall -o vercmp vercmp.o ../../lib/libalpm/version.o -lfetch -lssl -larchive
    libtool: link: gcc -std=gnu99 -pedantic -D_GNU_SOURCE -g -O2 -Wall -o vercmp vercmp.o ../../lib/libalpm/version.o -lfetch -lssl /usr/lib/libarchive.so -lacl -lattr -lexpat -llzma -lbz2 -lz -lcrypto
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT testpkg.o -MD -MP -MF .deps/testpkg.Tpo -c -o testpkg.o testpkg.c
    mv -f .deps/testpkg.Tpo .deps/testpkg.Po
    /bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -pedantic -D_GNU_SOURCE -g -O2 -Wall -o testpkg testpkg.o ../../lib/libalpm/.libs/libalpm.la -lfetch -lssl -larchive
    libtool: link: gcc -std=gnu99 -pedantic -D_GNU_SOURCE -g -O2 -Wall -o .libs/testpkg testpkg.o ../../lib/libalpm/.libs/libalpm.so -lfetch -lssl /usr/lib/libarchive.so -lacl -lattr -lexpat -llzma -lbz2 -lz -lcrypto -Wl,-rpath -Wl,/usr/local/lib
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT testdb.o -MD -MP -MF .deps/testdb.Tpo -c -o testdb.o testdb.c
    mv -f .deps/testdb.Tpo .deps/testdb.Po
    /bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -pedantic -D_GNU_SOURCE -g -O2 -Wall -o testdb testdb.o ../../lib/libalpm/.libs/libalpm.la -lfetch -lssl -larchive
    libtool: link: gcc -std=gnu99 -pedantic -D_GNU_SOURCE -g -O2 -Wall -o .libs/testdb testdb.o ../../lib/libalpm/.libs/libalpm.so -lfetch -lssl /usr/lib/libarchive.so -lacl -lattr -lexpat -llzma -lbz2 -lz -lcrypto -Wl,-rpath -Wl,/usr/local/lib
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT cleanupdelta.o -MD -MP -MF .deps/cleanupdelta.Tpo -c -o cleanupdelta.o cleanupdelta.c
    mv -f .deps/cleanupdelta.Tpo .deps/cleanupdelta.Po
    /bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -pedantic -D_GNU_SOURCE -g -O2 -Wall -o cleanupdelta cleanupdelta.o ../../lib/libalpm/.libs/libalpm.la -lfetch -lssl -larchive
    libtool: link: gcc -std=gnu99 -pedantic -D_GNU_SOURCE -g -O2 -Wall -o .libs/cleanupdelta cleanupdelta.o ../../lib/libalpm/.libs/libalpm.so -lfetch -lssl /usr/lib/libarchive.so -lacl -lattr -lexpat -llzma -lbz2 -lz -lcrypto -Wl,-rpath -Wl,/usr/local/lib
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT pactree.o -MD -MP -MF .deps/pactree.Tpo -c -o pactree.o pactree.c
    mv -f .deps/pactree.Tpo .deps/pactree.Po
    /bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -pedantic -D_GNU_SOURCE -g -O2 -Wall -o pactree pactree.o ../../lib/libalpm/.libs/libalpm.la -lfetch -lssl -larchive
    libtool: link: gcc -std=gnu99 -pedantic -D_GNU_SOURCE -g -O2 -Wall -o .libs/pactree pactree.o ../../lib/libalpm/.libs/libalpm.so -lfetch -lssl /usr/lib/libarchive.so -lacl -lattr -lexpat -llzma -lbz2 -lz -lcrypto -Wl,-rpath -Wl,/usr/local/lib
    make[2]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3/src/util'
    Making all in src/pacman
    make[2]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3/src/pacman'
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DLOGFILE=\"/usr/local/var/log/pacman.log\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT conf.o -MD -MP -MF .deps/conf.Tpo -c -o conf.o conf.c
    mv -f .deps/conf.Tpo .deps/conf.Po
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DLOGFILE=\"/usr/local/var/log/pacman.log\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT database.o -MD -MP -MF .deps/database.Tpo -c -o database.o database.c
    mv -f .deps/database.Tpo .deps/database.Po
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DLOGFILE=\"/usr/local/var/log/pacman.log\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT deptest.o -MD -MP -MF .deps/deptest.Tpo -c -o deptest.o deptest.c
    mv -f .deps/deptest.Tpo .deps/deptest.Po
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DLOGFILE=\"/usr/local/var/log/pacman.log\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT package.o -MD -MP -MF .deps/package.Tpo -c -o package.o package.c
    mv -f .deps/package.Tpo .deps/package.Po
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DLOGFILE=\"/usr/local/var/log/pacman.log\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT pacman.o -MD -MP -MF .deps/pacman.Tpo -c -o pacman.o pacman.c
    mv -f .deps/pacman.Tpo .deps/pacman.Po
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DLOGFILE=\"/usr/local/var/log/pacman.log\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT query.o -MD -MP -MF .deps/query.Tpo -c -o query.o query.c
    mv -f .deps/query.Tpo .deps/query.Po
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DLOGFILE=\"/usr/local/var/log/pacman.log\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT remove.o -MD -MP -MF .deps/remove.Tpo -c -o remove.o remove.c
    mv -f .deps/remove.Tpo .deps/remove.Po
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DLOGFILE=\"/usr/local/var/log/pacman.log\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT sync.o -MD -MP -MF .deps/sync.Tpo -c -o sync.o sync.c
    mv -f .deps/sync.Tpo .deps/sync.Po
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DLOGFILE=\"/usr/local/var/log/pacman.log\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT callback.o -MD -MP -MF .deps/callback.Tpo -c -o callback.o callback.c
    mv -f .deps/callback.Tpo .deps/callback.Po
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DLOGFILE=\"/usr/local/var/log/pacman.log\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT upgrade.o -MD -MP -MF .deps/upgrade.Tpo -c -o upgrade.o upgrade.c
    mv -f .deps/upgrade.Tpo .deps/upgrade.Po
    gcc -std=gnu99 -DLOCALEDIR=\"/usr/local/share/locale\" -DCONFFILE=\"/usr/local/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/usr/local/var/lib/pacman/\" -DCACHEDIR=\"/usr/local/var/cache/pacman/pkg/\" -DLOGFILE=\"/usr/local/var/log/pacman.log\" -DHAVE_CONFIG_H -I. -I../.. -I../../lib/libalpm -pedantic -D_GNU_SOURCE -g -O2 -Wall -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
    mv -f .deps/util.Tpo .deps/util.Po
    /bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -pedantic -D_GNU_SOURCE -g -O2 -Wall -o pacman conf.o database.o deptest.o package.o pacman.o query.o remove.o sync.o callback.o upgrade.o util.o ../../lib/libalpm/.libs/libalpm.la -lfetch -lssl -larchive
    libtool: link: gcc -std=gnu99 -pedantic -D_GNU_SOURCE -g -O2 -Wall -o .libs/pacman conf.o database.o deptest.o package.o pacman.o query.o remove.o sync.o callback.o upgrade.o util.o ../../lib/libalpm/.libs/libalpm.so -lfetch -lssl /usr/lib/libarchive.so -lacl -lattr -lexpat -llzma -lbz2 -lz -lcrypto -Wl,-rpath -Wl,/usr/local/lib
    make[2]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3/src/pacman'
    Making all in scripts
    make[2]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3/scripts'
    GEN makepkg
    GEN pacman-db-upgrade
    GEN pacman-optimize
    GEN pkgdelta
    GEN rankmirrors
    GEN repo-add
    rm -f repo-remove
    ln -s repo-add repo-remove
    make[2]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3/scripts'
    Making all in etc
    make[2]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3/etc'
    GEN makepkg.conf
    GEN pacman.conf
    make[2]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3/etc'
    Making all in po
    make[2]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3/po'
    make[2]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3/po'
    Making all in test/pacman
    make[2]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3/test/pacman'
    Making all in tests
    make[3]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3/test/pacman/tests'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3/test/pacman/tests'
    make[3]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3/test/pacman'
    make[3]: Nothing to be done for `all-am'.
    make[3]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3/test/pacman'
    make[2]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3/test/pacman'
    Making all in test/util
    make[2]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3/test/util'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3/test/util'
    Making all in contrib
    make[2]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3/contrib'
    GEN bacman
    GEN pacdiff
    GEN paclist
    GEN pacscripts
    GEN pacsearch
    GEN wget-xdelta.sh
    GEN bash_completion
    GEN zsh_completion
    make[2]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3/contrib'
    Making all in doc
    make[2]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3/doc'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3/doc'
    make[2]: Entering directory `/home/aardvark/Documents/pacman/pacman-3.5.3'
    make[2]: Nothing to be done for `all-am'.
    make[2]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3'
    make[1]: Leaving directory `/home/aardvark/Documents/pacman/pacman-3.5.3'
    This is the output of ./configure:
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking for a BSD-compatible install... /bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for gawk... (cached) gawk
    checking for style of include used by make... GNU
    checking for gcc... gcc
    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 gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking for gcc option to accept ISO C99... -std=gnu99
    checking whether ln -s works... yes
    checking whether make sets $(MAKE)... (cached) yes
    checking how to print strings... printf
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for fgrep... /bin/grep -F
    checking for ld used by gcc -std=gnu99... /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... ranlib
    checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 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 -std=gnu99 -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 -std=gnu99 supports -fno-rtti -fno-exceptions... no
    checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
    checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
    checking if gcc -std=gnu99 static flag -static works... yes
    checking if gcc -std=gnu99 supports -c -o file.o... yes
    checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
    checking whether the gcc -std=gnu99 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 for python2.7... python2.7
    checking for bash... /bin/bash
    checking whether NLS is requested... yes
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for xgettext... /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    checking for ld used by GCC... /usr/bin/ld -m elf_x86_64
    checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
    checking for shared library run path origin... done
    checking for CFPreferencesCopyAppValue... no
    checking for CFLocaleCopyCurrent... no
    checking for GNU gettext in libc... yes
    checking whether to use NLS... yes
    checking where the gettext function comes from... libc
    checking for archive_read_data in -larchive... yes
    checking whether to link with libssl... yes
    checking for MD5_Final in -lssl... yes
    checking whether to link with libfetch... yes
    checking for fetchParseURL in -lfetch... yes
    checking whether fetchConnectionCacheInit is declared... yes
    checking fcntl.h usability... yes
    checking fcntl.h presence... yes
    checking for fcntl.h... yes
    checking glob.h usability... yes
    checking glob.h presence... yes
    checking for glob.h... yes
    checking libintl.h usability... yes
    checking libintl.h presence... yes
    checking for libintl.h... yes
    checking locale.h usability... yes
    checking locale.h presence... yes
    checking for locale.h... yes
    checking mntent.h usability... yes
    checking mntent.h presence... yes
    checking for mntent.h... yes
    checking for string.h... (cached) yes
    checking sys/ioctl.h usability... yes
    checking sys/ioctl.h presence... yes
    checking for sys/ioctl.h... yes
    checking sys/mount.h usability... yes
    checking sys/mount.h presence... yes
    checking for sys/mount.h... yes
    checking sys/param.h usability... yes
    checking sys/param.h presence... yes
    checking for sys/param.h... yes
    checking sys/statvfs.h usability... yes
    checking sys/statvfs.h presence... yes
    checking for sys/statvfs.h... yes
    checking sys/time.h usability... yes
    checking sys/time.h presence... yes
    checking for sys/time.h... yes
    checking for sys/types.h... (cached) yes
    checking sys/ucred.h usability... no
    checking sys/ucred.h presence... no
    checking for sys/ucred.h... no
    checking syslog.h usability... yes
    checking syslog.h presence... yes
    checking for syslog.h... yes
    checking wchar.h usability... yes
    checking wchar.h presence... yes
    checking for wchar.h... yes
    checking for inline... inline
    checking for mode_t... yes
    checking for off_t... yes
    checking for pid_t... yes
    checking for size_t... yes
    checking whether struct tm is in sys/time.h or time.h... time.h
    checking for uid_t in sys/types.h... yes
    checking for dirent.h that defines DIR... yes
    checking for library containing opendir... none required
    checking for struct dirent.d_type... yes
    checking PATH_MAX defined... 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 library containing getmntent... none required
    checking whether lstat correctly handles trailing slash... yes
    checking whether time.h and sys/time.h may both be included... yes
    checking for sys/time.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for alarm... yes
    checking for working mktime... yes
    checking for geteuid... yes
    checking for getmntinfo... no
    checking for realpath... yes
    checking for regcomp... yes
    checking for strcasecmp... yes
    checking for strndup... yes
    checking for strrchr... yes
    checking for strsep... yes
    checking for swprintf... yes
    checking for wcwidth... yes
    checking for uname... yes
    checking filesystem statistics type... checking for getmntinfo... (cached) no
    checking for getmntent... (cached) yes
    struct statvfs
    checking for struct statvfs.f_flag... yes
    checking for struct statfs.f_flags... no
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... no
    checking whether gcc -std=gnu99 accepts -fvisibility=internal... yes
    checking for -fgnu89-inline... yes
    checking for du... /bin/du
    checking for asciidoc... asciidoc
    checking for building documentation... yes, enabled by configure
    checking for doxygen... no
    checking for doxygen... no, disabled by configure
    checking for debug mode request... no
    checking whether to use git version if available... no, disabled by configure
    configure: creating ./config.status
    config.status: creating lib/libalpm/Makefile
    config.status: creating lib/libalpm/po/Makefile.in
    config.status: creating src/pacman/Makefile
    config.status: creating src/util/Makefile
    config.status: creating scripts/Makefile
    config.status: creating doc/Makefile
    config.status: creating etc/Makefile
    config.status: creating po/Makefile.in
    config.status: creating test/pacman/Makefile
    config.status: creating test/pacman/tests/Makefile
    config.status: creating test/util/Makefile
    config.status: creating contrib/Makefile
    config.status: creating Makefile
    config.status: creating config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    config.status: executing po-directories commands
    config.status: creating lib/libalpm/po/POTFILES
    config.status: creating lib/libalpm/po/Makefile
    config.status: creating po/POTFILES
    config.status: creating po/Makefile
    pacman:
    Build information:
    source code location : .
    prefix : /usr/local
    sysconfdir : /usr/local/etc
    conf file : /usr/local/etc/pacman.conf
    localstatedir : /usr/local/var
    database dir : /usr/local/var/lib/pacman/
    cache dir : /usr/local/var/cache/pacman/pkg/
    compiler : gcc -std=gnu99
    compiler flags : -g -O2 -Wall
    defines : -DHAVE_CONFIG_H
    Architecture : x86_64
    Architecture flags : -march=x86-64
    Host Type : x86_64-unknown-linux-gnu
    Filesize command : stat -L -c %s
    In-place sed command : sed -i
    libalpm version : 6.0.3
    libalpm version info : 6:3:0
    pacman version : 3.5.3
    using git version : no
    Directory and file information:
    root working directory : /
    package extension : .pkg.tar.gz
    source pkg extension : .src.tar.gz
    build script name : PKGBUILD
    Compilation options:
    Run make in doc/ dir : yes
    Doxygen support : no
    debug support : no
    I'm sure libtool is installed. I had a working copy of pacman but a bad "make install" destroyed that too. Any help?
    Last edited by newdave (2011-07-07 05:46:27)

    falconindy wrote:
    And where's the error? Other than the completely wrong paths being set for ./configure, there is none. That's a successful make.
    newdave wrote:P.S. I must add that currently pacman is broken on my system so " makepkg -s " does not work (error: no usable package repositories configured.)
    P.P.S note the word configure. this is user error as you've not uncommented any mirrors from /etc/pacman.d/mirrorlist. I strongly suggest you do one of two things:
    1) If you're insistent on compiling pacman by hand, use the configure flags from the package in ABS.
    2) Backup your pacman.conf/makepkg.conf, download a pacman package, and extract it to root, and then restore your config files. After fixing your mirrorlist, reinstall pacman with pacman, using pacman -Sf pacman
    I identified some error keywords in the make output and thought the make had failed. but apparently I was wrong. As you said the make was succesful( sorry for noobish mistake). As to the pacman breakage, the problem was with two duplicate copies of  pacman in /usr/bin/pacman and  /usr/local/bin/pacman ! just removed /usr/local/bin/pacman and pacman got fixed...
    Anyway, Thank you all for your help.

  • [SOLVED]pacman.log filled with "[PACMAN] starting full system upgrade"

    Today i just ran pacman -Suy, but now the log is filled with:
    Gozer ~ # tail /var/log/pacman.log -n 100
    [2013-04-08 12:26] [PACMAN] upgraded youtube-dl (2013.02.25-1 -> 2013.04.03-1)
    [2013-04-08 12:27] [PACMAN] starting full system upgrade
    [2013-04-08 12:27] [PACMAN] starting full system upgrade
    [2013-04-08 12:27] [PACMAN] starting full system upgrade
    [2013-04-08 12:27] [PACMAN] starting full system upgrade
    [2013-04-08 12:28] [PACMAN] starting full system upgrade
    [2013-04-08 12:28] [PACMAN] starting full system upgrade
    [2013-04-08 13:06] [PACMAN] starting full system upgrade
    Gozer ~ # grep '2013-04-08' /var/log/pacman.log |grep "starting full system upgrade" | wc -l
    637
    Is this a bug?
    Last edited by kokoko3k (2013-04-08 12:57:01)

    Edit: are you using some system update monitoring script?
    Ops... big "OPS".
    You are right, sorry!

  • [SOLVED]Built pacman in Debian, getting 'error invoking external downl

    Hi, I've built pacman in Debian and now whenever I try to run any pacman command involving repositories, I get 'error invoking external downloader'. I've configured repositories, but I feel like the problem is with libfetch. I could only build libdownload which is a fork of libfetch.
    Here is the output of 'pacman -Syv --verbose':
    debug: config: attempting to read file /usr/local/etc/pacman.conf
    debug: config: new section 'options'
    debug: config: HoldPkg: pacman
    debug: config: HoldPkg: glibc
    debug: config: SyncFirst: pacman
    debug: config: Architecture: i686
    debug: config: new section 'main'
    debug: registering sync database 'main'
    debug: adding new server URL to database 'main': http://cake.lib.fit.edu/archlinux/main/os/i686
    debug: setlibpaths() called
    debug: option 'cachedir' = /usr/local/var/cache/pacman/pkg/
    debug: config: finished parsing /usr/local/etc/pacman.conf
    Root : /
    Conf File : /usr/local/etc/pacman.conf
    DB Path : /usr/local/var/lib/pacman/
    Cache Dirs: /usr/local/var/cache/pacman/pkg/
    Lock File : /usr/local/var/lib/pacman/db.lck
    Log File : /usr/local/var/log/pacman.log
    Targets : None
    :: Synchronizing package databases...
    debug: database path for tree local set to /usr/local/var/lib/pacman/local/
    debug: local database version 2
    debug: returning error 47 from download : error invoking external downloader
    debug: failed to sync db: error invoking external downloader
    error: failed to update main (error invoking external downloader)
    error: failed to synchronize any databases
    debug: unregistering database 'local'
    debug: unregistering database 'main'
    And here is my pacman.conf file:
    # /usr/local/etc/pacman.conf
    # See the pacman.conf(5) manpage for option and repository directives
    # GENERAL OPTIONS
    [options]
    # The following paths are commented out with their default values listed.
    # If you wish to use different paths, uncomment and update the paths.
    #RootDir = /
    #DBPath = /usr/local/var/lib/pacman/
    #CacheDir = /usr/local/var/cache/pacman/pkg/
    #LogFile = /usr/local/var/log/pacman.log
    HoldPkg = pacman glibc
    # If upgrades are available for these packages they will be asked for first
    SyncFirst = pacman
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    #XferCommand = /usr/bin/curl -C - -f %u > %o
    #CleanMethod = KeepInstalled
    Architecture = auto
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    #IgnorePkg =
    #IgnoreGroup =
    #NoUpgrade =
    #NoExtract =
    # Misc options (all disabled by default)
    #UseSyslog
    #ShowSize
    #UseDelta
    #TotalDownload
    #CheckSpace
    # REPOSITORIES
    # - can be defined here or included from another file
    # - pacman will search repositories in the order defined here
    # - local/custom mirrors can be added here or in separate files
    # - repositories listed first will take precedence when packages
    # have identical names, regardless of version number
    # - URLs will have $repo replaced by the name of the current repo
    # - URLs will have $arch replaced by the name of the architecture
    # Repository entries are of the format:
    # [repo-name]
    # Server = ServerName
    # Include = IncludePath
    # The header [repo-name] is crucial - it must be present and
    # uncommented to enable the repo.
    # An example of a disabled remote package repository with multiple servers
    # available. To enable, uncomment the following lines. You can add preferred
    # servers immediately after the header and they will be used before the
    # default mirrors.
    #[core]
    #Server = ftp://ftp.example.com/foobar/$repo/os/$arch/
    # The file referenced here should contain a list of 'Server = ' lines.
    #Include = /usr/local/etc/pacman.d/mirrorlist
    # An example of a custom package repository. See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #Server = file:///home/custompkgs
    [main]
    Server = http://cake.lib.fit.edu/archlinux/$repo/os/$arch
    My pacman is version v.3.5.4 and libalpm v.6.0.4
    Thanks for any help again!
    Last edited by aabmass (2011-12-23 17:26:52)

    libdownload is our ancient fork of libfetch -- do not use it. It's not even the same library, and it required buildsys changes to use. Honestly, I don't recommend libfetch either. Looks to me like you didn't build pacman with internal downloader support at all.
    You won't find a tarball of libfetch anywhere because its part of NetBSD core. Arch keeps a snapshot, which you can download.
    Regardless, I suggest looking at our PKGBUILDs for sane build time options: 4.0.1, 3.5.4

  • Could not locate compiled schema resource schema/system/s1130C5BD40C5682431D4FD64179031DE/index.xsb

    can somebody pleas tell me why is xmlbeans looking for an index.xsb? i cant run
    my java classes because it is looking for this file. how can i solve this?

    Unfortunately the generated error messages are really misleading. Nevertheless
    I was able to find the solution.
    The orginal error message was:
    Caused by: java.lang.RuntimeException: Could not instantiate SchemaTypeSystemImpl
    (java.lang.reflect.InvocationTargetException): is the version of xbean.jar correct?
    I tried to locacate the error somewhere in the implementation of XMLBeans, but
    no success. Afterwards I included an printStackTrace() command in the code section
    where the error has been thrown and the more detailed error message was:
    Could not locate compiled schema resource schema/system/sC8870485F5E7AEB8A9BBEB56FEB321E8/index.xsb
    Obviously the schema resource has not been compiled. Then I looked in the parameters
    of scomp and found:
    H:\UserData\SunONE\XMLBeans>scomp
    Compiles a schema into XML Bean classes and metadata.
    Usage: scomp [opts] [dirs]* [schema.xsd]* [service.wsdl]* [config.xsdconfig]*
    Options include:
    -cp [a;b;c] - classpath
    -d [dir] - target binary directory for .class and .xsb files
    Obviously the xsb Files are not generated, if the target binary directory is not
    explicitly mentioned. Therefore I modified the compile command to
    H:\UserData\SunONE\XMLBeans>scomp -src GenClasses -d GenClasses -out myMainData.
    jar MainData21.xsd
    and, voila, it works!!!!!

  • Distance along an ellipse arc (nD Nonlinear System Solver (VI).vi)

    I'm hoping to get some help solving an issue I've come up against. I appreciate that what I'm asking requires some of your time, so I've tried hard to do my due diligence before posting here. I'll really appreciate any help I can get. I'm using LabVIEW 2014 Professional on Windows 7.
    I've stripped away all the details of the specific application I'm working on and tried hard to isolate just the issue that is causing me difficulties.
    I've posed the problem below and I attached some investigation code (sorry, there is quite a bit) that represents my current solution (with the issue).
    Problem: Given an ellipse (with a major and a minor axis and a frame of reference), a distance to travel and any point on the ellipse, calculate the end point on the ellipse where the elliptical arc length between the two points equals the given distance to travel.
    I'll restate the problem, but with physical values. Given an ellipse, centered on the origin, with axes of 10mm and 8mm, and a starting point (5mm, 0mm); what is the end point on the ellipse after travelling 1 mm along the ellipse?
    This initially seemed like a simple calculation (and it is for a circle), but for an ellipse, the math turns out to be somewhat more complicated and requires numerical computation.
    Issue: I was given some python code that solves this problem and embarked on a LabVIEW solution. The python code uses the function optimize.fsolve from the scipy library to solve one aspect of the problem. I'm not too familiar with the LabVIEW VIs available to do the equivalent, but settled on "LabVIEW 2014\vi.lib\gmath\zero.llb\nD Nonlinear System Solver (VI).vi" (my code still has other options disabled in the code). When I use this solver VI, I do not always get the same answer from this VI. Sometimes it finds one root and sometimes two. For points separated by less than half the circumference of the ellipse, there should always be 2 roots (one in the clock-wise and one in the counter clock-wise direction). Any ideas why the solver does not always return 2 roots?
    Current Solution: My investigation VI takes two points on an ellipse (defined by a start angle and end angle) and calculates the distance between them along the ellipse. Then, I take the start point and the distance and try to calculate the end angle (which I can use to find the end point). Run once, it usually finds the right answer, but run 100 times it often returns the answer 19. I should mention that I'm not 100% positive there are no issues with the code used to support this calculation and I'm open to any suggested changes or improvements, but the issue currently causing problems is the inconsistent operation of the solver VI.
    Again, I appreciate this is long and thank you for reading this far; I hope you find this as fun a problem as I do!
    Chris
    Solved!
    Go to Solution.
    Attachments:
    NI Forums.zip ‏265 KB

    Hello Mark,
    Thanks for your reply, I was concerned that I had sent up an air ball on this one! And thank you for taking the time to review the code.
    You are correct, I am having an issue with the results of the nD Nonlinear System Solver (VI).vi. And that is a good poiint you raise, regarding the choice of the starting points. I'm not intending to use random values, I think I'm using a number very close to the start angle (in this case 20.001 degrees) as a start and 2pi (or 360 degrees) as the end. When I read the description of the start and end from the documentation:
    Start is an array describing the left corner of the n-dimension interval. The randomly chosen start points of the zero-finding algorithm can be found in the n-dimensional rectangle spanned by Start and End.
    End is an array describing the right corner of the n-dimension interval. The randomly chosen start points of the zero-finding algorithm can be found in the n-dimensional rectangle spanned by Start and End.
    I have to admit I don't *understand* what this means and I am currently guessing for the choices of start and end. I will think on this some more and review your links.
    As far as my final goal, I'm going to use this code I shared for generating an ellipitical motion profile on the PC to send to a cRIO and have executed on a FPGA.
    I'll report back after I work on this some more, but if you have some more insights, please share.
    Chris
    (BTW, I have an open support item for this #7444649 and it was suggested I also post on the forums)

  • Error in Java compilation: \s7u.log (The system cannot find the file specified)

    Hi there,
    I got an error when I tried to compile a group of sqlj and java files. The error below:
    ----------------------------------------------sqlj -status -passes -compile=true -ser2class -d=. -classpath=.;%CLASSPATH% E:\work\src\java\com\interadnet\persistence\*.sqlj E:\work\src\java\com\interadnet\persistence\*.java
    out [Translating 53 files]
    out [Reading file AdServerInformationType]
    out [Reading file AdsType]
    out [Reading file AgencyType]
    out [Reading file CampaigntocompletionType]
    out [Reading file CampaignType]
    out [Reading file ChannelType]
    out [Reading file ClientType]
    out [Reading file CompletionType]
    out [Reading file ContactType]
    out [Reading file CreativeType]
    out [Reading file FtpServerType]
    out [Reading file InsertioninstructionType]
    out [Reading file MediaServerType]
    out [Reading file SystemPropertyType]
    out [Reading file VendorType]
    out [Reading file AdServerInformationTypeRef]
    out [Reading file AdServerInformationView]
    out [Reading file AdsTypeRef]
    out [Reading file AdsView]
    out [Reading file AgencyTypeRef]
    out [Reading file AgencyView]
    out [Reading file CampaigntocompletionTypeRef]
    out [Reading file CampaignToCompletionView]
    out [Reading file CampaignTypeRef]
    out [Reading file CampaignTypeRefs]
    out [Reading file CampaignView]
    out [Reading file ChannelTypeRef]
    out [Reading file ChannelTypeRefs]
    out [Reading file ChannelView]
    out [Reading file ClientTypeRef]
    out [Reading file ClientTypeRefs]
    out [Reading file ClientView]
    out [Reading file CompletionTypeRef]
    out [Reading file CompletionTypeRefs]
    out [Reading file CompletionView]
    out [Reading file ContactTypeRef]
    out [Reading file ContactView]
    out [Reading file CreativeTypeRef]
    out [Reading file CreativeTypeRefs]
    out [Reading file CreativeView]
    out [Reading file FtpServerTypeRef]
    out [Reading file FtpServerView]
    out [Reading file InsertioninstructionTypeRef]
    out [Reading file InsertioninstructionTypeRefs]
    out [Reading file InsertionInstructionView]
    out [Reading file MediaServerTypeRef]
    out [Reading file MediaServerView]
    out [Reading file SystemPropertyTypeRef]
    out [Reading file SystemPropertyTypeRefs]
    out [Reading file SystemPropertyView]
    out [Reading file VendorTypeRef]
    out [Reading file VendorTypeRefs]
    out [Reading file VendorView]
    out [Translating file AdServerInformationType]
    out [Translating file AdsType]
    out [Translating file AgencyType]
    out [Translating file CampaigntocompletionType]
    out [Translating file CampaignType]
    out [Translating file ChannelType]
    out [Translating file ClientType]
    out [Translating file CompletionType]
    out [Translating file ContactType]
    out [Translating file CreativeType]
    out [Translating file FtpServerType]
    out [Translating file InsertioninstructionType]
    out [Translating file MediaServerType]
    out [Translating file SystemPropertyType]
    out [Translating file VendorType]
    out [Translating file AdServerInformationTypeRef]
    out [Translating file AdServerInformationView]
    out [Translating file AdsTypeRef]
    out [Translating file AdsView]
    out [Translating file AgencyTypeRef]
    out [Translating file AgencyView]
    out [Translating file CampaigntocompletionTypeRef]
    out [Translating file CampaignToCompletionView]
    out [Translating file CampaignTypeRef]
    out [Translating file CampaignTypeRefs]
    out [Translating file CampaignView]
    out [Translating file ChannelTypeRef]
    out [Translating file ChannelTypeRefs]
    out [Translating file ChannelView]
    out [Translating file ClientTypeRef]
    out [Translating file ClientTypeRefs]
    out [Translating file ClientView]
    out [Translating file CompletionTypeRef]
    out [Translating file CompletionTypeRefs]
    out [Translating file CompletionView]
    out [Translating file ContactTypeRef]
    out [Translating file ContactView]
    out [Translating file CreativeTypeRef]
    out [Translating file CreativeTypeRefs]
    out [Translating file CreativeView]
    out [Translating file FtpServerTypeRef]
    out [Translating file FtpServerView]
    out [Translating file InsertioninstructionTypeRef]
    out [Translating file InsertioninstructionTypeRefs]
    out [Translating file InsertionInstructionView]
    out [Translating file MediaServerTypeRef]
    out [Translating file MediaServerView]
    out [Translating file SystemPropertyTypeRef]
    out [Translating file SystemPropertyTypeRefs]
    out [Translating file SystemPropertyView]
    out [Translating file VendorTypeRef]
    out [Translating file VendorTypeRefs]
    out [Translating file VendorView]
    out [Compiling 53 Java files]
    err*** The following character string is too long:
    err***
    out Error in Java compilation: \s7u.log (The system cannot find the file specified)
    Any suggestion appreciated.
    Daniel Huang

    Having not seen this before, I assume that the issue is that the command line string is too long when Javac is invoked.
    Here are a few things to reduce the size of the command line:
    - do not use the CLASSPATH option, but set the CLASSPATH environment variable (you can to that in a .bat file)
    - do not provide the .java files but rely on the implicit make capability in both, the SQLJ translator and the Java compiler. (Note: you must mention all of the .sqlj files that your program requires, do not rely on implicit make to find all of those.)
    - you can perform the -ser2class conversion as a separate step (see the SQLJ FAQ), as well as the Java compilation
    - there may or may not be a facility in your operating system to increase the size of the environment (and this may or may not have an effect on the maximum command line length)
    - you could try to omit the -passes option and see if that helps (that may actually be where your invocation if failing in the first place, in that it cannot write to some temporary file).
    Let us know how it goes. Thanks!

  • About the Nonlinear System Solver

    Hi, I am trying to solve a nonlinear system that is a little complicated to get the solution manually:
    B*Sin(P)/(2*sin(B)*b)=0
    B*Sin(W)/(2*sin(A)*b)=0
    A+B+P+W-180=0
    I tried to use the Nonlinear System Solver entering the formulas and
    all I get is an error code -23001 (Error -23001 occurred at an
    unidentified location Possible reason(s):
    Analysis:  Syntax error of parser. "
    I don't know what I am doing wrong, I am doing it similarly to the
    attached VI, with my own equations and controls. I even tried to change
    the equations so I would delete the "sin" (sine), just to make a test
    (about syntax and the solver not understanding that command?), and I
    got the same error.
    Help is much appreciated,
    Thanks

    Also remember that the argument to trigonometric functions must be in radians here.
    Are you sure that A and Beta are not [0<A<π/2], [0<Beta<π/2].
    How about the "180" in the last formula. Shouldn't it be π instead?
    Is b 83 degrees or just a constant of 82?
    LabVIEW Champion . Do more with less code and in less time .

  • Pacman -Syu returns system up to date after a new 2008.03 (solved)

    I just installed arch from the march 08 live cd (the new cd got stuck on the grub boot screen, but that is another bug for another thread).
    I eventually got a totally working installation (installing only core packages).
    what's strange is, i've updated pacman's package list and a pacman -Syu says the local system is up to date, but for whatever reason, no package was actually downloaded or updated. My kernel is stil 2.6.24-arch, my klibc is 1.5.5... What gives?
    everything i read says all you need to do is run a pacman -Syu, but clearly there should have been updates from the core packages between march and now? (i know there has been, and that packages are updated constantly).
    clearly i'm missing something simple here. Sorry for the stupid question.
    (i uncommented the achlinux.org repo line in the mirrorlist, and i'm sure this is the server pacman is using).
    thanks for any help.
    -m
    (edited Syu typo and subject, sorry)
    Last edited by fop518 (2008-08-28 05:03:57)

    oops, my bad. that was a typo.
    a pacman -Syu yields a local database is up to date
    the first time i did a pacman -Sy it downloaded and updated some new dbs... but the  -Syu has always returned that the system is up to date, when i'm fairly certain it isnt... if i am running kernel 2.6.24, that is old right? i should be presented with some updates if i just installed the march live cd...
    thanks,
    m

  • [SOLVED] compiling jpcap on 64bit system

    hello
    can i compile jpcap on arch x86_64?
    because when i try it i get this error:
    /usr/bin/ld: /tmp/ccWFe5Db.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
    /tmp/ccWFe5Db.o: could not read symbols: Bad value
    collect2: ld returned 1 exit status
    make: *** [libjpcap.so] Error 1
    i tried to serach web but i just found out that this is architecture issue but no solution..
    edit:
    if i use 32bit enviroment (http://wiki.archlinux.org/index.php/Arc … bit_system) to compile it will it wrok on my 64 bit?
    Last edited by _dunmer (2009-02-28 13:15:28)

    this is whole makefile
    JAVA_DIR = $(JAVA_HOME)
    JNI_INCLUDE = $(JAVA_DIR)/include
    # try to detect your OS using 'uname'
    PLATFORM = $(shell "uname")
    ifeq ($(PLATFORM), Linux)
    JNI_INCLUDE2 = $(JAVA_DIR)/include/linux
    COMPILE_OPTION = -shared -L.
    SUFFIX = .so
    else
    ifeq ($(PLATFORM), FreeBSD)
    JNI_INCLUDE2 = $(JAVA_DIR)/include/freebsd
    COMPILE_OPTION = -shared -L.
    SUFFIX = .so
    else
    ifeq ($(PLATFORM), SunOS)
    JNI_INCLUDE2 = $(JAVA_DIR)/include/solaris
    COMPILE_OPTION = -G
    SUFFIX = .so
    else
    ifeq ($(PLATFORM), Darwin)
    JNI_INCLUDE2 = /System/Library/Frameworks/JavaVM.framework/Headers
    COMPILE_OPTION = -bundle -framework JavaVM
    SUFFIX = .jnilib
    endif
    endif
    endif
    endif
    # Specify where pcap.h is
    PCAP_INCLUDE = /usr/include
    #PCAP_INCLUDE = /usr/include/pcap
    #CC = cl
    CC = gcc
    all: libjpcap.so
    libjpcap.so: JpcapCaptor.c JpcapSender.c JpcapWriter.c\
    packet_arp.c packet_datalink.c packet_icmp.c packet_ip.c\
    packet_ipv6.c packet_tcp.c packet_udp.c
    $(CC) $(COMPILE_OPTION) -I$(JNI_INCLUDE) -I$(JNI_INCLUDE2)\
    -I$(PCAP_INCLUDE)\
    JpcapCaptor.c JpcapSender.c JpcapWriter.c\
    packet_arp.c packet_datalink.c packet_icmp.c packet_ip.c\
    packet_ipv6.c packet_tcp.c packet_udp.c\
    -o libjpcap$(SUFFIX) -lpcap
    clean:
    -rm libjpcap$(SUFFIX)
    witt thie make file i get this error:
    [[email protected] c]$ make
    gcc -shared -L. -I/opt/java/include -I/opt/java/include/linux\
    -I/usr/include\
    JpcapCaptor.c JpcapSender.c JpcapWriter.c\
    packet_arp.c packet_datalink.c packet_icmp.c packet_ip.c\
    packet_ipv6.c packet_tcp.c packet_udp.c\
    -o libjpcap.so -lpcap
    JpcapCaptor.c: In function 'Java_jpcap_JpcapCaptor_processPacket':
    JpcapCaptor.c:467: warning: cast to pointer from integer of different size
    JpcapCaptor.c: In function 'Java_jpcap_JpcapCaptor_loopPacket':
    JpcapCaptor.c:486: warning: cast to pointer from integer of different size
    JpcapCaptor.c: In function 'dispatcher_handler':
    JpcapCaptor.c:700: warning: cast from pointer to integer of different size
    JpcapWriter.c: In function 'Java_jpcap_JpcapWriter_close':
    JpcapWriter.c:47: warning: incompatible implicit declaration of built-in function 'free'
    packet_icmp.c: In function 'analyze_icmp':
    packet_icmp.c:79: warning: cast to pointer from integer of different size
    packet_icmp.c:81: warning: cast from pointer to integer of different size
    /usr/bin/ld: /tmp/cceBND7o.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
    /tmp/cceBND7o.o: could not read symbols: Bad value
    collect2: ld returned 1 exit status
    make: *** [libjpcap.so] Error 1
    when i add -fPIC to CFLAGS it doesn't do anything and i get the same output
    somebody tell me to chanege Linux part of make file like this:
    ifeq ($(PLATFORM), Linux)
    JNI_INCLUDE2 = $(JAVA_DIR)/include/linux
    -- COMPILE_OPTION = -shared -L.
    ++ COMPILE_OPTION = -shared -fPIC -L.
    whit this a i get another error:
    [[email protected] c]$ make
    gcc -I/opt/java/include -I/opt/java/include/linux\
    -I/usr/include\
    JpcapCaptor.c JpcapSender.c JpcapWriter.c\
    packet_arp.c packet_datalink.c packet_icmp.c packet_ip.c\
    packet_ipv6.c packet_tcp.c packet_udp.c\
    -o libjpcap.so -lpcap
    JpcapCaptor.c: In function 'Java_jpcap_JpcapCaptor_processPacket':
    JpcapCaptor.c:467: warning: cast to pointer from integer of different size
    JpcapCaptor.c: In function 'Java_jpcap_JpcapCaptor_loopPacket':
    JpcapCaptor.c:486: warning: cast to pointer from integer of different size
    JpcapCaptor.c: In function 'dispatcher_handler':
    JpcapCaptor.c:700: warning: cast from pointer to integer of different size
    JpcapWriter.c: In function 'Java_jpcap_JpcapWriter_close':
    JpcapWriter.c:47: warning: incompatible implicit declaration of built-in function 'free'
    packet_icmp.c: In function 'analyze_icmp':
    packet_icmp.c:79: warning: cast to pointer from integer of different size
    packet_icmp.c:81: warning: cast from pointer to integer of different size
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.3/../../../../lib/crt1.o: In function `_start':
    (.text+0x20): undefined reference to `main'
    collect2: ld returned 1 exit status
    make: *** [libjpcap.so] Error 1
    nothing i could find about -fPIC helped me..

  • [solved] Problems with pacman's gpg system

    I get
    gpg:Fatal: /etc/pacman.d/gnupg/trustdb.gpg: invalid trustdb
    in response to
    pacman-key --init
    Any ideas?
    edit: deleting trustdb.gpg allows it to work
    Last edited by zipybug14 (2012-09-02 04:24:41)

    I get
    gpg:Fatal: /etc/pacman.d/gnupg/trustdb.gpg: invalid trustdb
    in response to
    pacman-key --init
    Any ideas?
    edit: deleting trustdb.gpg allows it to work
    Last edited by zipybug14 (2012-09-02 04:24:41)

  • Pacman -Syu update, System not booting due to systemd

    I have just done a full update on pacman, and now my system is not booting due to this message
    systemd[1]: /usr/lib/systemd/system-generators/systemd-gpt-auto-generator exited with status 127
    Does anyone know what is causing this, and what a status code of 127 means?
    Last edited by deteego (2013-09-30 13:53:42)

    cfr wrote:Post fstab and the output of gdisk -l /dev/sdX (or fdisk -l but I'm assuming you are using GPT).
    fstab is here https://gist.github.com/mdedetrich/a2976f1c618d51a0c74e
    gdisk is here https://gist.github.com/mdedetrich/2017fcb5d33023ccd1bb
    Daerandin wrote:Apologies, I seem to have skipped over that. Still, I would like to know if OP have attempted to boot with fstab or not.
    fstab originally existed on my OS before the pacman upgrade. After the upgrade I got the error message mentioned above (and obviously the fstab was there since I  didn't touch it). Then after reading that linked topic (where a similar error message was the cause of systems not booting due to a fstab), I deleted the fstab (or more accurately, moved it somewhere else)
    Last edited by deteego (2013-10-01 02:51:08)

  • Pacman download corrupt extension(Solved)

    Download of libpng for x86_64 produces a download with the extension .pkg.tar.xz...instead of .pkg.tar.gz.
    Whazzup?
    EDIT: Same for avahi, smbclient and fluidsynth.
    Last edited by lilsirecho (2010-03-14 02:45:25)

    PierreL:
    The problem is not what you suggest.  I have dutifully performed upgrades almost every day.  Some of them take half the day to perform since I have a backup HDD which needs the same upgrade.  The size of recent upgrades has made the system unuseable for most of the day waiting for the upgrades to finish.
    That being said, I have a system that is up to date.  This does not say that I know what each and every package downloaded and installed does for the system.  Some things cause repercussions.
    In this case, the repercussions are in an arch-related Live USB boot system wherein I use a cachedir of pacman packages which can be installed via pacman -U into the live system.  This live system is not subject to archlinux upgrades which permit the use of pacman .gz and pacman .xz packages.
    Therefore when utilizing xz packages in the cachedir, pacman -U cannot install xz extension packages (nor can it delete them since it cannot handle a "corrupt" package).
    What has happened is the archlinux admins have decided to utilize the xz format and have provided for it . in a normal sense for usual download and installs.
    It seems that cachedir packages installed via pacman -U do not fit the "normal" install mode.  Therefore, the corrupt package result.
    The cachedir I utilize saves time and is a raid cache which installs rapidly.  It has 16 gb of storage available.
    Whazzup?  I need to know how to provide for a compatible pacman -U install of both gz and xz packages in a live usb archlinux based OS.
    Certainly the pacman -U cammand is not dead yet.  But it isn't compatible with the xz format.
    I have used my raid cache for two years or more and now its defunct. 
    Allan:
    Is xz format useable with a cache array utilizing pacman -U to install cached packages?  If it is, what change is necessary to permit the install of xz "corrupt" packages.

  • Pacman says my system is up to date - but it's not

    Well that's the whole story - when i try to:
    sudo pacman -Syu
    i get:
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community is up to date
    :: Starting full system upgrade...
    local database is up to date
    but i haven't been updating for about 2 months. please help.

    i use these mirrors:
    # Servers used by my pacman
    # Russia:
    Server = ftp://mirror.yandex.ru/archlinux/$repo/os/x86_64
    # US:
    Server = ftp://ftp.archlinux.org/$repo/os/x86_64
    # Latvia
    Server = http://archlinux.goodsoft.lv/$repo/os/x86_64
    # Lithuania
    Server = ftp://atviras.lt/archmirror/$repo/os/x86_64
    Server = http://atviras.lt/archmirror/$repo/os/x86_64
    Server = ftp://mirrors.kernel.org/archlinux/$repo/os/x86_64
    just added last line - still nothing

  • Neo2 "Error Loading Operating System" solved

    hi, i've been struggling with this frikkin error for a while now and i've finally figured it out, after reading a gazillion posts and not finding an answer i thought i should post mine here for anyone who gets the same problem
    my setup: msi k8n neo2 platinum, amd 64 3500, some ram and vid card, 200GB SATA drive
    PLUG YOUR SATA DRIVE INTO SATA3or4 if you only have one or two, SATA1and2 are unstable(for ocing) and just dont work for some folks
    now you boot from windows xp cd, everything seems to be goin fine, pc reboots and BHAM! error loading operating system... ?!
    well don't go and enable RAID in your bios (unless you really want to use RAID) just goto the bios --> integrated peripherals --> IDE function setup
    now look for SATA1/SATA2 DMA transfer and SATA3/SATA4 DMA transfer, enable these, or at least the one that you're using
    reboot, boot from windows cd, quick format the partition you want to install windows on, do the windows thing and reboot, viola! your windows installation should now be booting
    if that doesn't solve your problem then i'm a greased weasel!   
    ps. another solution (that i used the first time round but annoyed me cos i'm really really obsessive about these things) is to run partition magic and clear the drive of partitions, then make a primary partition and a logical drive within that partition and set it to active, this worked for me
    xcept i only use 1 HDD with two partitions, a smaller one that gets formatted all the time and off of which i run windows and a larger one that i keep all my stuff on, the trick was the put the booting partition at the end of the disk and not at the beginning like you usually would do, it's got something to do with the 1024 cylinder boundary but i don't understand that tho...

    I had the same problem, easy solution, use Nforce 6.37 beta driver pack. and It will work OK! A way to enter the system is:
    That is a probelm with SATA drivers, you may also install WIN XP making a disk for SATA driver from the Nforce 6.37 drivers in IDE\WINXP
    Press F8,
    Wait about 10 Secs.
    Enter Normally, It may boot.
    Regards
    You may connect the SATA drive in either 1 - 2 or 3 - 4 Sata ports It will work OK, do not use DMA transfer it will make the Disk slower

Maybe you are looking for

  • How to install iTunes on Win XP 64 Pro?

    How to install iTunes on Win XP 64 Pro?

  • Adobe Acrobat XI Pro - Silent installer

    Hello, I am trying to create an installer for Adobe Acrobat 11 Pro. I have used the customization wizard to create a transform file for the install and specified it to be silent. However, it appears that windows are still opening in the background wh

  • Help with Adobe Photo Downloader in PSE 7?

    I do not allow PSE 7 to "see" pictures all over my hard drives; I have ONE watched folder called "my picture collection", in which are stored all of my "final copy" pictures, and these are the only pictures in "my catalog". Since I am using Photoshop

  • How to install face time

    I buying iPhone 4S in Saudi Arabia. But I am using in india. I wants to install FaceTime. Any one help me.

  • Integration of T&EM with MM

    What is the importance of integration of T&EM with MM. Is it like, if every material (PC, projector, intercom set) is to be monitored for T&EM we need to do this? My client is very young (one year) and there are not more than 200 employees. As of now