This forum has been archived. All content is frozen. Please use KDE Discuss instead.

SVN will not make

Tags: None
(comma "," separated)
rimmington
Registered Member
Posts
1
Karma
0

SVN will not make

Mon Jul 03, 2006 8:41 am
Hey guys,

I've followed the Installation HowTo on the wiki to build the latest svn Amarok. However, once I get to the make -f Makefile.cvs stage, I always get an error. Here is the full output:

Code: Select all
This Makefile is only for the CVS repository
This will be deleted before making the distribution

*** automake (GNU automake) 1.7.9 found.
*** Creating acinclude.m4
*** Creating list of subdirectories
*** Creating Makefile.am
*** Creating configure.files
*** Creating configure.in
*** Creating aclocal.m4
*** Creating configure
*** Creating config.h template
*** Creating Makefile templates
libamarok_gst10engine_plugin_la_LDFLAGS: variable `LIB_GST10' is used but `LIB_GST10' is undefined
make[1]: *** [cvs] Error 1
make: *** [all] Error 2


Does anyone have any ideas to fix this?

Rhys
radfoj
Registered Member
Posts
20
Karma
0

Re: SVN will not make

Mon Jul 03, 2006 12:15 pm
Same here with jordswart svn ebuild. Just tried to edit it - remove everything from the ebuild  gstreamer related, but its still same.
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re: SVN will not make

Mon Jul 03, 2006 12:17 pm
Use unsermake.


--
Mark Kretschmann - Amarok Developer
radfoj
Registered Member
Posts
20
Karma
0

Re: SVN will not make

Mon Jul 03, 2006 2:49 pm
With unsermake it seems better, but only at the begining:

Code: Select all
This Makefile is only for the CVS repository
 This will be deleted before making the distribution
 
 *** YOU'RE USING UNSERMAKE.
 *** GOOD LUCK!! :)
 *** Creating acinclude.m4
 *** Creating list of subdirectories
 *** Creating Makefile.am
 *** Creating configure.files
 *** Creating configure.in
 *** Creating aclocal.m4
 *** Creating configure
 *** Creating config.h template
 *** Creating Makefile templates
 *** Creating date/time stamp
 *** Finished
     Don't forget to run ./configure
 ..
 ...
 ....
 Good - your configure finished. Start make now
 
 WARNING: use unsermake instead of make or use a wrapper script, e.g. makeobj!!!
 unsermake all
 *** Creating acinclude.m4
 --jobserver-fds=3,4.am does not exist!
 Error creating /var/tmp/portage/amarok-svn-1.4-r8/work/amarok-svn-1.4/Makefile.in. Exit status 1.
 cd /var/tmp/portage/amarok-svn-1.4-r8/work/amarok-svn-1.4/. && /bin/sh /var/tmp/portage/amarok-svn-1.4-r8/work/amarok-svn-1.4/admin/missing --run aclocal-1.7
 cd /var/tmp/portage/amarok-svn-1.4-r8/work/amarok-svn-1.4 && /bin/sh /var/tmp/portage/amarok-svn-1.4-r8/work/amarok-svn-1.4/admin/cvs.sh configure || touch configure
 cd /var/tmp/portage/amarok-svn-1.4-r8/work/amarok-svn-1.4 && unsermake -c
 make: *** [all] Error 1
 
 !!! ERROR: media-sound/amarok-svn-1.4-r8 failed.


:mad:
User avatar
marcel
Registered Member
Posts
595
Karma
0
OS

Re: SVN will not make

Mon Jul 03, 2006 4:03 pm
For me, it helped to to upgrade automake from 1.7 to version 1.9
radfoj
Registered Member
Posts
20
Karma
0

Re: SVN will not make

Mon Jul 03, 2006 4:16 pm
Code: Select all
* sys-devel/automake
     Available versions:  1.4_p6 1.5 1.6.3 1.7.9-r1 1.8.5-r3 1.9.6-r1 1.9.6-r2
     Installed:           1.4_p6 1.5 1.6.3 1.7.9-r1 1.8.5-r3 1.9.6-r2

I am ready, so I added
Code: Select all
export WANT_AUTOMAKE=1.9

before line
Code: Select all
make -f Makefile.cvs
(in the ebuild)
and this time it looks like different
Code: Select all
This Makefile is only for the CVS repository
This will be deleted before making the distribution

*** automake (GNU automake) 1.9.6 found.
*** Creating acinclude.m4
*** Creating list of subdirectories
*** Creating Makefile.am
*** Creating configure.files
*** Creating configure.in
*** Creating aclocal.m4
/usr/share/aclocal/pth.m4:43: warning: underquoted definition of _AC_PTH_ERROR
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/pth.m4:55: warning: underquoted definition of _AC_PTH_VERBOSE
/usr/share/aclocal/pth.m4:61: warning: underquoted definition of AC_CHECK_PTH
*** Creating configure
*** Creating config.h template
*** Creating Makefile templates
*** Postprocessing Makefile templates
*** Creating date/time stamp
*** Finished
...
.......
config.status: executing depfiles commands

 ==========================
 ===  Amarok - PLUGINS  ========================================================
 ==========================
 =
 = The following extra functionality will NOT be included:
 =   - NMM-engine
 =   - Helix-engine
 =   - libvisual Support
 =   - XMMS Visualization Wrapper
 =   - Postgresql Support
 =   - iPod Support
 =   - iRiver iFP Support
 =   - Creative Nomad Jukebox Support
 =
 = The following extra functionality will be included:
 =   + xine-engine
 =   + MySql Support
 =   + Konqueror Sidebar
 =   + MusicBrainz Support
 =   + MP4/AAC Tag Write Support
 =
 ===============================================================================

Good - your configure finished. Start make now

*** Creating acinclude.m4
cd . && /bin/sh /var/tmp/portage/amarok-svn-1.4-r8/work/amarok-svn-1.4/admin/missing --run aclocal-1.9
/usr/share/aclocal/pth.m4:43: warning: underquoted definition of _AC_PTH_ERROR
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/pth.m4:55: warning: underquoted definition of _AC_PTH_VERBOSE
/usr/share/aclocal/pth.m4:61: warning: underquoted definition of AC_CHECK_PTH
cd . && rm -f configure
 cd . && /bin/sh /var/tmp/portage/amarok-svn-1.4-r8/work/amarok-svn-1.4/admin/missing --run automake-1.9 --foreign
cd . && make -f admin/Makefile.common configure
make[1]: Entering directory `/var/tmp/portage/amarok-svn-1.4-r8/work/amarok-svn-1.4'
make[1]: Leaving directory `/var/tmp/portage/amarok-svn-1.4-r8/work/amarok-svn-1.4'
/bin/sh ./config.status --recheck
running /bin/sh ./configure  --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-mysql --disable-postgresql --without-opengl --without-xmms --without-libvisual --enable-amazon --with-musicbrainz --without-libgpod --with-mp4v2 --without-ifp --without-helix --with-xine --without-mas --without-nmm --with-x --enable-mitshm --without-xinerama --with-qt-dir=/usr/qt/3 --enable-mt --with-qt-libraries=/usr/qt/3/lib --disable-dependency-tracking --disable-debug --without-debug --without-arts --with-extra-includes=/usr/kde/3.5/include --with-extra-libs=/usr/kde/3.5/lib --build=i686-pc-linux-gnu --cache-file config.cache CFLAGS=-O2 -march=athlon -pipe -fomit-frame-pointer -fno-inline CXXFLAGS=-O2 -march=athlon -pipe -fomit-frame-pointer -fno-inline LDFLAGS=-Wl,-O1 build_alias=i686-pc-linux-gnu host_alias=i686-pc-linux-gnu  --no-create --no-recursion
configure: loading cache config.cache
checking build system type... (cached) i686-pc-linux-gnu
checking host system type... (cached) i686-pc-linux-gnu

Hmm, seems configure goes twice
Code: Select all
Good - your configure finished. Start make now

 cd . && perl admin/am_edit
cd . && perl admin/am_edit Makefile.in
 /bin/sh ./config.status
fast creating Makefile
fast creating amarok/Makefile

BUT this time make is CONTINUING ... hope till succesfull emerge end. Its MAGIC.
drei666
Registered Member
Posts
1
Karma
0

Re: SVN will not make

Tue Jul 04, 2006 4:09 pm
Hi all,
I'm building Amarok from SVN every day automagically, and I just built revision 558049 (2006-07-04T15:43:23.163957Z).

I noticed the error with gstreamer libs and since I use KDE 3.5.3 (built from sources with Konstruct) and I never useed Gstreamer, I simply deleted the folder in amarok/src/engine/gst10 .

I have a script that makes it all simple (I run this script as root):

Code: Select all
#!/bin/bash

#Go to SVN folder
cd /root/tmp/amarok-svn/multimedia
make clean
cd ..

#Get from SVN
svn co -N svn://anonsvn.kde.org/home/kde/trunk/extragear/multimedia
cd multimedia
svn co svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kde-common/admin
svn up amarok

# REMOVE GSTREAMER
rm -rf amarok/src/engine/gst10/*

#Configure and make install
make -f Makefile.cvs && ./configure --prefix=/usr/local/kde3.5.3 --without-musicbrainz  --without-arts --without-libvisual --without-xmms --with-xine --without-opengl && make && make install && killall amarokapp



Since I use amarok as a standard player, I don't need fancy functions like MusicBrainz or visuals, but feel free to try my script with all your favorite configure options.

cya

dREI

P.S.
Excuse me,
I don't intend to disrupt the work of developers on gstreamer implementation, I simply don't need it.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]