You are not logged in.

#1 2013-10-27 18:14:21

rxvtk
Member
Registered: 2013-10-15
Posts: 24

Installing mpdscribble, requires libmpdclient2 [SOLVED]

After downloading the tarball from https://aur.archlinux.org/packages/mpdscribble/ I extracted it, and typed makepkg

==> Making package: mpdscribble 0.22-6 (Sun Oct 27 14:10:14 EDT 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found mpdscribble-0.22.tar.bz2
  -> Found service
==> Validating source files with sha256sums...
    mpdscribble-0.22.tar.bz2 ... Passed
    service ... Passed
==> Extracting sources...
  -> Extracting mpdscribble-0.22.tar.bz2 with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
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 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 build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for syslog... yes
checking for pkg-config... no
checking for LIBMPDCLIENT... no
configure: error: libmpdclient2 is required
==> ERROR: A failure occurred in build().
    Aborting...

However, it requires me to install libmpdclient2, which is not in the repos.

I found https://github.com/psych0tik/libmpdclient2, which could not be the right thing, however after installing it, I still get the error that libmpdclient2 is required.

Last edited by rxvtk (2013-10-27 18:56:17)

Offline

#2 2013-10-27 18:22:32

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,525
Website

Re: Installing mpdscribble, requires libmpdclient2 [SOLVED]

It built fine here.  Did you use the libmpdclient-git from the AUR?

Disregard that point - as noted below, the needed dependency *is* in the repos.  If you build with makepgk -s (as you should) makepkg will pull in the dependencies for you.  But it looks like you just used `makepkg` - there's the problem.

Last edited by Trilby (2013-10-27 18:30:49)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2013-10-27 18:23:43

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Installing mpdscribble, requires libmpdclient2 [SOLVED]

Trilby wrote:

It built fine here.  Did you use the libmpdclient-git from the AUR?

No, hes used https://aur.archlinux.org/packages/mpdscribble/

rxvtk, please fix the thread title :-)

Offline

#4 2013-10-27 18:24:03

spcode
Member
Registered: 2013-10-26
Posts: 27

Re: Installing mpdscribble, requires libmpdclient2 [SOLVED]

rxvtk wrote:

However, it requires me to install libmpdclient2, which is not in the repos.

https://www.archlinux.org/packages/?q=libmpdclient

Offline

#5 2013-10-27 18:25:34

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Installing mpdscribble, requires libmpdclient2 [SOLVED]

spcode wrote:
rxvtk wrote:

However, it requires me to install libmpdclient2, which is not in the repos.

https://www.archlinux.org/packages/?q=libmpdclient

libmpdclient is a dependency, so OP should have it already installed.


Edit: I've just successfully compiled and installed https://aur.archlinux.org/packages/mpdscribble/ with 'makepkg -si':

==> Validating source files with sha256sums...
    mpdscribble-0.22.tar.bz2 ... Passed
    service ... Passed
==> Extracting sources...
  -> Extracting mpdscribble-0.22.tar.bz2 with bsdtar
==> Starting build()...
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 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 build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for syslog... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBMPDCLIENT... yes
checking for libglib... yes
checking for libsoup... yes
checking for libgthread... yes
checking whether the C compiler accepts -Wall... yes
checking whether the C compiler accepts -Wextra... yes
checking whether the C compiler accepts -Wno-deprecated-declarations... yes
checking whether the C compiler accepts -Wmissing-prototypes... yes
checking whether the C compiler accepts -Wshadow... yes
checking whether the C compiler accepts -Wpointer-arith... yes
checking whether the C compiler accepts -Wstrict-prototypes... yes
checking whether the C compiler accepts -Wcast-qual... yes
checking whether the C compiler accepts -Wwrite-strings... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
make  all-am
make[1]: Entering directory '/home/karol/apps/mpdscribble/src/mpdscribble-0.22'
depbase=`echo src/mpdscribble.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I.   -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -I./src -I./src/libmpdclient -DFILE_CONF='"/etc/mpdscribble.conf"' -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wextra -Wno-deprecated-declarations -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wcast-qual -Wwrite-strings -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT src/mpdscribble.o -MD -MP -MF $depbase.Tpo -c -o src/mpdscribble.o src/mpdscribble.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/daemon.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I.   -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -I./src -I./src/libmpdclient -DFILE_CONF='"/etc/mpdscribble.conf"' -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wextra -Wno-deprecated-declarations -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wcast-qual -Wwrite-strings -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT src/daemon.o -MD -MP -MF $depbase.Tpo -c -o src/daemon.o src/daemon.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/record.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I.   -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -I./src -I./src/libmpdclient -DFILE_CONF='"/etc/mpdscribble.conf"' -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wextra -Wno-deprecated-declarations -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wcast-qual -Wwrite-strings -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT src/record.o -MD -MP -MF $depbase.Tpo -c -o src/record.o src/record.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/scrobbler.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I.   -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -I./src -I./src/libmpdclient -DFILE_CONF='"/etc/mpdscribble.conf"' -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wextra -Wno-deprecated-declarations -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wcast-qual -Wwrite-strings -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT src/scrobbler.o -MD -MP -MF $depbase.Tpo -c -o src/scrobbler.o src/scrobbler.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/http_client_soup.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I.   -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -I./src -I./src/libmpdclient -DFILE_CONF='"/etc/mpdscribble.conf"' -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wextra -Wno-deprecated-declarations -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wcast-qual -Wwrite-strings -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT src/http_client_soup.o -MD -MP -MF $depbase.Tpo -c -o src/http_client_soup.o src/http_client_soup.c &&\
mv -f $depbase.Tpo $depbase.Po
In file included from /usr/include/glib-2.0/glib/gthread.h:34:0,
                 from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
                 from /usr/include/glib-2.0/glib.h:34,
                 from src/http_client.h:24,
                 from src/http_client_soup.c:21:
src/http_client_soup.c: In function ‘http_client_request’:
/usr/include/libsoup-2.4/libsoup/soup-misc.h:37:155: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual]
 #define _SOUP_ATOMIC_INTERN_STRING(variable, value) ((const char *)(g_atomic_pointer_get (&(variable)) ? (variable) : (g_atomic_pointer_set (&(variable), (gpointer)g_intern_static_string (value)), (variable))))
                                                                                                                                                           ^
/usr/include/glib-2.0/glib/gatomic.h:156:51: note: in definition of macro ‘g_atomic_pointer_set’
     *(atomic) = (__typeof__ (*(atomic))) (gsize) (newval);                   \
                                                   ^
/usr/include/libsoup-2.4/libsoup/soup-method.h:37:38: note: in expansion of macro ‘_SOUP_ATOMIC_INTERN_STRING’
 #define _SOUP_INTERN_METHOD(method) (_SOUP_ATOMIC_INTERN_STRING (_SOUP_METHOD_##method, #method))
                                      ^
/usr/include/libsoup-2.4/libsoup/soup-method.h:43:31: note: in expansion of macro ‘_SOUP_INTERN_METHOD’
 #define SOUP_METHOD_POST      _SOUP_INTERN_METHOD (POST)
                               ^
src/http_client_soup.c:153:26: note: in expansion of macro ‘SOUP_METHOD_POST’
   msg = soup_message_new(SOUP_METHOD_POST, url);
                          ^
/usr/include/libsoup-2.4/libsoup/soup-misc.h:37:155: warning: cast discards ‘__attribute__((const))’ qualifier from pointer target type [-Wcast-qual]
 #define _SOUP_ATOMIC_INTERN_STRING(variable, value) ((const char *)(g_atomic_pointer_get (&(variable)) ? (variable) : (g_atomic_pointer_set (&(variable), (gpointer)g_intern_static_string (value)), (variable))))
                                                                                                                                                           ^
/usr/include/glib-2.0/glib/gatomic.h:156:51: note: in definition of macro ‘g_atomic_pointer_set’
     *(atomic) = (__typeof__ (*(atomic))) (gsize) (newval);                   \
                                                   ^
/usr/include/libsoup-2.4/libsoup/soup-method.h:37:38: note: in expansion of macro ‘_SOUP_ATOMIC_INTERN_STRING’
 #define _SOUP_INTERN_METHOD(method) (_SOUP_ATOMIC_INTERN_STRING (_SOUP_METHOD_##method, #method))
                                      ^
/usr/include/libsoup-2.4/libsoup/soup-method.h:41:31: note: in expansion of macro ‘_SOUP_INTERN_METHOD’
 #define SOUP_METHOD_GET       _SOUP_INTERN_METHOD (GET)
                               ^
src/http_client_soup.c:176:26: note: in expansion of macro ‘SOUP_METHOD_GET’
   msg = soup_message_new(SOUP_METHOD_GET, url);
                          ^
depbase=`echo src/cmdline.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I.   -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -I./src -I./src/libmpdclient -DFILE_CONF='"/etc/mpdscribble.conf"' -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wextra -Wno-deprecated-declarations -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wcast-qual -Wwrite-strings -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT src/cmdline.o -MD -MP -MF $depbase.Tpo -c -o src/cmdline.o src/cmdline.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/file.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I.   -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -I./src -I./src/libmpdclient -DFILE_CONF='"/etc/mpdscribble.conf"' -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wextra -Wno-deprecated-declarations -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wcast-qual -Wwrite-strings -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT src/file.o -MD -MP -MF $depbase.Tpo -c -o src/file.o src/file.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/journal.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I.   -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -I./src -I./src/libmpdclient -DFILE_CONF='"/etc/mpdscribble.conf"' -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wextra -Wno-deprecated-declarations -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wcast-qual -Wwrite-strings -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT src/journal.o -MD -MP -MF $depbase.Tpo -c -o src/journal.o src/journal.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/lmc.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I.   -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -I./src -I./src/libmpdclient -DFILE_CONF='"/etc/mpdscribble.conf"' -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wextra -Wno-deprecated-declarations -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wcast-qual -Wwrite-strings -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT src/lmc.o -MD -MP -MF $depbase.Tpo -c -o src/lmc.o src/lmc.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/log.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I.   -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -I./src -I./src/libmpdclient -DFILE_CONF='"/etc/mpdscribble.conf"' -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wextra -Wno-deprecated-declarations -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wcast-qual -Wwrite-strings -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT src/log.o -MD -MP -MF $depbase.Tpo -c -o src/log.o src/log.c &&\
mv -f $depbase.Tpo $depbase.Po
gcc -std=gnu99 -DNDEBUG -Wall -Wextra -Wno-deprecated-declarations -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wcast-qual -Wwrite-strings -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4  -Wl,-O1,--sort-common,--as-needed,-z,relro -o src/mpdscribble src/mpdscribble.o src/daemon.o src/record.o src/scrobbler.o  src/http_client_soup.o src/cmdline.o src/file.o src/journal.o src/lmc.o src/log.o  -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lglib-2.0  -lmpdclient  -lgthread-2.0 -pthread -lglib-2.0   -lglib-2.0  
depbase=`echo test/run_http_client.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I.   -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -I./src -I./src/libmpdclient -DFILE_CONF='"/etc/mpdscribble.conf"' -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wextra -Wno-deprecated-declarations -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wcast-qual -Wwrite-strings -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -MT test/run_http_client.o -MD -MP -MF $depbase.Tpo -c -o test/run_http_client.o test/run_http_client.c &&\
mv -f $depbase.Tpo $depbase.Po
test/run_http_client.c: In function ‘my_response’:
test/run_http_client.c:16:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
  write(STDOUT_FILENO, data, length);
       ^
gcc -std=gnu99 -DNDEBUG -Wall -Wextra -Wno-deprecated-declarations -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wcast-qual -Wwrite-strings -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4  -Wl,-O1,--sort-common,--as-needed,-z,relro -o test/run_http_client  src/http_client_soup.o src/file.o test/run_http_client.o  -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lglib-2.0  -lmpdclient  -lgthread-2.0 -pthread -lglib-2.0   -lglib-2.0  
make[1]: Leaving directory '/home/karol/apps/mpdscribble/src/mpdscribble-0.22'
==> Entering fakeroot environment...
==> Starting package()...
make[1]: Entering directory '/home/karol/apps/mpdscribble/src/mpdscribble-0.22'
test -z "/usr/bin" || /usr/bin/mkdir -p "/home/karol/apps/mpdscribble/pkg/mpdscribble/usr/bin"
  /usr/bin/install -c src/mpdscribble '/home/karol/apps/mpdscribble/pkg/mpdscribble/usr/bin'
test -z "/etc" || /usr/bin/mkdir -p "/home/karol/apps/mpdscribble/pkg/mpdscribble/etc"
 /usr/bin/install -c -m 600 doc/mpdscribble.conf /home/karol/apps/mpdscribble/pkg/mpdscribble/etc/mpdscribble.conf
test -z "/usr/share/doc/mpdscribble" || /usr/bin/mkdir -p "/home/karol/apps/mpdscribble/pkg/mpdscribble/usr/share/doc/mpdscribble"
 /usr/bin/install -c -m 644 README AUTHORS NEWS '/home/karol/apps/mpdscribble/pkg/mpdscribble/usr/share/doc/mpdscribble'
test -z "/usr/share/man/man1" || /usr/bin/mkdir -p "/home/karol/apps/mpdscribble/pkg/mpdscribble/usr/share/man/man1"
 /usr/bin/install -c -m 644 doc/mpdscribble.1 '/home/karol/apps/mpdscribble/pkg/mpdscribble/usr/share/man/man1'
make[1]: Leaving directory '/home/karol/apps/mpdscribble/src/mpdscribble-0.22'
==> Tidying install...
  -> Purging unwanted files...
  -> Removing libtool files...
  -> Removing static library files...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
==> Creating package "mpdscribble"...
  -> Generating .PKGINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: mpdscribble 0.22-6 (Sun Oct 27 19:25:50 CET 2013)
==> Installing package mpdscribble with pacman -U...
loading packages...
resolving dependencies...
looking for inter-conflicts...

Packages (1):

Name         New Version  Net Change

mpdscribble  0.22-6         0.11 MiB

Total Installed Size:   0.11 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                  [########################################################] 100%
(1/1) checking package integrity                                                                [########################################################] 100%
(1/1) loading package files                                                                     [########################################################] 100%
(1/1) checking for file conflicts                                                               [########################################################] 100%
(1/1) checking available disk space                                                             [########################################################] 100%
(1/1) installing mpdscribble                                                                    [########################################################] 100%
An example config is provided in /usr/share/mpdscribble/mpdscribble.conf.example

For system-wide config copy this file to /etc/mpdscribble.conf
For per-user config copy this file to ~/.mpdscribble/mpdscribble.conf

Last edited by karol (2013-10-27 18:28:55)

Offline

#6 2013-10-27 18:30:02

spcode
Member
Registered: 2013-10-26
Posts: 27

Re: Installing mpdscribble, requires libmpdclient2 [SOLVED]

I was just referring to the statement that libmpdclient isn't in the repos. Builds just fine for me, too.

Offline

#7 2013-10-27 18:31:31

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Installing mpdscribble, requires libmpdclient2 [SOLVED]

The dependency is for libmpdclient.


Moving to AUR Issues...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2013-10-27 18:32:41

rxvtk
Member
Registered: 2013-10-15
Posts: 24

Re: Installing mpdscribble, requires libmpdclient2 [SOLVED]

I was using libmpdclient, not libmpdclient2, which may be the problem.
I got libmpdclient-git to install, and uninstalled libmpdclient, however I still get below, even if I do use makepkg -s

configure: error: libmpdclient2 is required
==> ERROR: A failure occurred in build().
    Aborting...

Offline

#9 2013-10-27 18:35:53

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Installing mpdscribble, requires libmpdclient2 [SOLVED]

Please paste the PKGBUILD you are using.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2013-10-27 18:38:13

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,553

Re: Installing mpdscribble, requires libmpdclient2 [SOLVED]

Built just fine here with the included libmpdclient dep.

Offline

#11 2013-10-27 18:38:49

rxvtk
Member
Registered: 2013-10-15
Posts: 24

Re: Installing mpdscribble, requires libmpdclient2 [SOLVED]

jasonwryan wrote:

Please paste the PKGBUILD you are using.

I've never used the user repo, so I could be doing something wrong.

# Maintainer: jason ryan <jasonwryan@gmail.com>
# Contributor:  Bartłomiej Piotrowski <nospam@bpiotrowwski.pl>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: evr <evanroman at gmail>
# Contributor: Luiz Ribeiro <luizribeiro@gmail.com>

pkgname=mpdscribble
pkgver=0.22
pkgrel=6
pkgdesc='MPD client which submits track info to L{ibre,ast}.fm'
url='http://mpd.wikia.com/wiki/Client:Mpdscribble'
arch=('i686' 'x86_64')
license=('GPL')
depends=('libsoup' 'glib2' 'libmpdclient')
install=$pkgname.install
source=(http://downloads.sourceforge.net/musicpd/mpdscribble-${pkgver}.tar.bz2
        service)
sha256sums=('1cde2b5f8c70f0e3e6f059d01bf0b0f2eac2b29fbcd14b01a8a5103e603feb41'
            '8a6568235e8b2ac7535a6f99f4401450a4162bac0cacb938af2ec39a808e1132')

build() {
  cd mpdscribble-$pkgver

  ./configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --with-http-client=soup

  make
}

package() {
  cd mpdscribble-$pkgver

  make DESTDIR="${pkgdir}" install

  install -Dm644 "${srcdir}"/service \
    "${pkgdir}"/usr/lib/systemd/system/mpdscribble.service

  # default config is really an example
  install -D -m644 "${pkgdir}"/etc/mpdscribble.conf \
    "${pkgdir}"/usr/share/mpdscribble/mpdscribble.conf.example
  rm -f "${pkgdir}"/etc/mpdscribble.conf

  install -d "${pkgdir}"/var/cache/mpdscribble
  touch "${pkgdir}"/var/cache/mpdscribble/mpdscribble.cache
}

# vim:set ts=2 sw=2 et:

Last edited by rxvtk (2013-10-27 18:39:16)

Offline

#12 2013-10-27 18:41:40

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Installing mpdscribble, requires libmpdclient2 [SOLVED]

You must be. Please paste the sequence of commands you used from your shell history.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#13 2013-10-27 18:42:07

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Installing mpdscribble, requires libmpdclient2 [SOLVED]

What's the output of

pacman -Q libmpdclient
uname -a

Offline

#14 2013-10-27 18:47:57

rxvtk
Member
Registered: 2013-10-15
Posts: 24

Re: Installing mpdscribble, requires libmpdclient2 [SOLVED]

Downloaded the .tar.gz manually from https://aur.archlinux.org/packages/mpdscribble/

tar -zxvf mpdscribble.tar.gz 
cd mpdscribble
makepkg -si

As for the output of the commands

libmpdclient 2.8-1
Linux localhost 3.11.6-1-ARCH #1 SMP PREEMPT Fri Oct 18 23:22:36 CEST 2013 x86_64 GNU/Linux

Offline

#15 2013-10-27 18:52:24

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,525
Website

Re: Installing mpdscribble, requires libmpdclient2 [SOLVED]

...
checking for pkg-config... no
...

I missed that the first time though.

You are expected to have base-devel installed before using the AUR.

Last edited by Trilby (2013-10-27 18:52:55)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#16 2013-10-27 18:56:00

rxvtk
Member
Registered: 2013-10-15
Posts: 24

Re: Installing mpdscribble, requires libmpdclient2 [SOLVED]

Trilby wrote:
...
checking for pkg-config... no
...

I missed that the first time though.

You are expected to have base-devel installed before using the AUR.

And it works now.
Thank you

Offline

Board footer

Powered by FluxBB