LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-02-2002, 12:06 AM   #1
PiMoGo
Member
 
Registered: Oct 2002
Distribution: Suse 7.2; Redhat 8.0; Mandy 9.0
Posts: 35

Rep: Reputation: 15
Angry Frustrated! How should i proceed with Install?


I've been trying and trying but i haven't been successful in installing Zinf, the music download manager used for Emusic. I really want to download mp3s from emusic without having to boot up M$'s XP. I'm trying to depend solely on linux and i'd appreciate any help in doing so.

I get the following message when running a ./configure in the zinf directory:

checking for GDK_PIXBUF - version >= 0.8.0... yes
checking for mb_GetVersion in -lmusicbrainz... no
***
*** FreeAmp requires the MusicBrainz client library version 1.0.1.
*** Download the library from
*** http://www.musicbrainz.org/download.html
***
configure: error: Cannot continue.


Its checking for musicbrainz but it is not seeing it! I have already installed musicbrainz and its located in the /opt/Musicbrainz-1.1.0/lib folder.

[root@diebenkorn lib]# ls -lth
total 3.5M
-rw-r--r-- 1 root root 2.1M Nov 1 20:56 libmusicbrainz.a
-rwxr-xr-x 1 root root 767 Nov 1 20:56 libmusicbrainz.la*
lrwxrwxrwx 1 root root 23 Nov 1 20:56 libmusicbrainz.so -> libmusicbrainz.so.1.1.0*
lrwxrwxrwx 1 root root 23 Nov 1 20:56 libmusicbrainz.so.1 -> libmusicbrainz.so.1.1.0*
-rwxr-xr-x 1 root root 1.3M Nov 1 20:56 libmusicbrainz.so.1.1.0*
[root@diebenkorn lib]#


I must somehow link the two together because when ./configuring, the computer does not know to check in the /opt/Musicbrainz-1.1.0/lib folder. How should i go about doing this? HAs anyone else had problems with installing zinf.

I'd appreciate any help and i thank you in advance.

P.S When installing musicbrainz i copied this from the install but i don't know what it means. Would this help?

Installing Zinf:
PATH="$PATH:/sbin" ldconfig -n /opt/Musicbrainz-1.1.0//lib
----------------------------------------------------------------------
Libraries have been installed in:
/opt/Musicbrainz-1.1.0//lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
 
Old 11-02-2002, 01:15 AM   #2
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 49
Yeah, you probably need to add the musicbrainz libraries to the
LD_LIBRARY_PATH environment variable, OR add it to /etc/ld.so.conf
and run ldconfig. Probably the easiest at this stage is to add the path to
/etc/ld.so.conf and run ldconfig.
 
Old 11-02-2002, 02:55 AM   #3
PiMoGo
Member
 
Registered: Oct 2002
Distribution: Suse 7.2; Redhat 8.0; Mandy 9.0
Posts: 35

Original Poster
Rep: Reputation: 15
Thanks for replying Moses. What is the LD_LIBRARY_PATH environment variable? To run ldconfig i simply type that in the terminal after editing the /etc/ld.so.conf, right? Thanks so much!
 
Old 11-02-2002, 02:59 AM   #4
PiMoGo
Member
 
Registered: Oct 2002
Distribution: Suse 7.2; Redhat 8.0; Mandy 9.0
Posts: 35

Original Poster
Rep: Reputation: 15
I tried adding /opt/Musicbrainz-1.1.0/lib directory to the /etc/ld.so.conf file and running ldconfig, but it didn't work when i tryed to reconfigure. It stopped at the same place and gave me the same error message.

What should i do now? Thanks again!
 
Old 11-02-2002, 04:12 PM   #5
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 49
Yeah, I tried installing this as well, and have the same problem. The
hack to get around it is:

export LDFLAGS=-L/opt/Musicbrainz-1.1.0/lib
./configure

If you are not running bash, you'll get a export: Command not found
error, use:
setenv LDFLAGS -L/opt/Musicbrainz-1.1.0/lib

I'm not sure what causes this bug, but it doesn't seem like it's actually
Zinf's fault. . .
 
Old 11-02-2002, 05:27 PM   #6
PiMoGo
Member
 
Registered: Oct 2002
Distribution: Suse 7.2; Redhat 8.0; Mandy 9.0
Posts: 35

Original Poster
Rep: Reputation: 15
Thanks Moses your hack worked for getting me past the ./configure, but something must have not worked during the make and make install because after creating a symlink to the zinf executable in /opt/Zinf/bin/zinf and running zinf from the terminal i got the following message back.

[root@diebenkorn bin]# ln -s /opt/Zinf/bin/zinf /usr/bin
[root@diebenkorn bin]# zinf
No UI plugin in '.:~/.zinf:/opt/Zinf//lib/zinf' matched 'plugins/' or 'plugins/.ui.'
Zinf will quit.


Do you know how to correct this? Thanks in Advance.

Btw. a portion of the message i got back when running make install is the following:

plm/metadata/mbcd/mbcd.cpp:189: `mb_GetResultData' undeclared (first use this function)
plm/metadata/mbcd/mbcd.cpp:206: `mb_SetResultRDF' undeclared (first use this function)
plm/metadata/mbcd/mbcd.cpp:215: `MBQ_GetCDInfo' undeclared (first use this function)
plm/metadata/mbcd/mbcd.cpp:225: `MBE_GetNumAlbums' undeclared (first use this function)
plm/metadata/mbcd/mbcd.cpp:241: `mb_GetWebSubmitURL' undeclared (first use this function)
plm/metadata/mbcd/mbcd.cpp:249: `mb_GetResultRDFLen' undeclared (first use this function)
plm/metadata/mbcd/mbcd.cpp:251: `mb_GetResultRDF' undeclared (first use this function)
make[1]: *** [plm/metadata/mbcd/mbcd.o] Error 1
make[1]: Leaving directory `/home/pimogo/Downloads/zinf-2.2.1'
make: *** [install-plugins] Error 2
[root@diebenkorn zinf-2.2.1]# cd /op
 
Old 11-02-2002, 07:22 PM   #7
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 49
try:

zinf --help

zinf -ui zinf.ui

I didn't actually go on to installing since I'm not actually going to use this
app.

After trying to do a make on zinf, I've come to the conclusion that this
package is very poorly put together. You might try taking one step back
w.r.t the version number. If you absolutely need this version, it may
require you to learn a bit about programming (especially makefiles), as
there are mistakes in the configure, the Makefile, and probably
elsewhere. If I needed the package, I would put a some time and effort
into fixing it, but while I understand that you really want to use this
package, I'm not really the one to fix it.
 
Old 11-02-2002, 10:03 PM   #8
PiMoGo
Member
 
Registered: Oct 2002
Distribution: Suse 7.2; Redhat 8.0; Mandy 9.0
Posts: 35

Original Poster
Rep: Reputation: 15
Smile

I'll try another version or wait for further improvements by the programmers behide zinf.

The year of C++ i took would hardly help me in configuring the makefile--i might make it more buggy

Takes just the same Moses. I appreciate all your help.
 
Old 11-03-2002, 02:08 AM   #9
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 49
I was able to get it to run using the command:

zinf -ui zinf.ui

(once I got it to compile)
Since you have an executable, it looks like at least zinf compiled. You
might try:

make plugins
or
make -f Makefile.plugins

and then run
zinf -ui zinf.ui

This seems to work for me as both root and an unprivliged user, so it
may work for you as well. If that doesn't work, I can give you the hacks
I made to the Makefile.header. . .
 
Old 11-03-2002, 03:19 AM   #10
PiMoGo
Member
 
Registered: Oct 2002
Distribution: Suse 7.2; Redhat 8.0; Mandy 9.0
Posts: 35

Original Poster
Rep: Reputation: 15
I reran make and make install and as before when trying to launch the app it gives me the following.

[root@diebenkorn zinf-2.2.1]# zinf
No UI plugin in '.:~/.zinf:/opt/Zinf//lib/zinf' matched 'plugins/' or 'plugins/.ui.'
Zinf will quit.


make Makefile-plugins had no effect as you see...
[root@diebenkorn zinf-2.2.1]# make Makefile-plugins
make: Nothing to be done for `Makefile-plugins'.


but make plugins runs for a little but stops when an error is detected.

running zinf -ui zinf.ui gives me the same message as when i try to run zinf.

Could i have the sequence off. This is what i'm doing in the untarred zinf folder as root....
1) export LDFLAGS=-L/opt/Musicbrainz-1.1.0/lib
2) ./configure --prefix=/opt/Zinf/
3) make
4) make install
5) make plugins
6) zinf -ui zinf.ui -> sets off above error

Perhaps that hack would help. Takes again Moses for all your help!
 
Old 11-03-2002, 04:13 AM   #11
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 49
You would need to run
make -f Makefile.plugins (YOU NEED THE "-f")

edit the Makefile.header and add to the "INCLUDES=. . ." line:

-I$(srcdir)/lib/musicbrainz/

(just as it is, this is relative to your build directory).

then run:

make
make plugins
make install
 
Old 11-04-2002, 05:25 PM   #12
PiMoGo
Member
 
Registered: Oct 2002
Distribution: Suse 7.2; Redhat 8.0; Mandy 9.0
Posts: 35

Original Poster
Rep: Reputation: 15
thanks for all your help Moses. i'll try that when i get home.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't install Linux. Very frustrated. Need help junglemike Linux - Laptop and Netbook 6 09-20-2005 11:41 AM
Post-Install ... How Do I proceed? svarreby Slackware 3 01-10-2004 11:33 AM
How should i proceed? BajaNick General 6 12-07-2003 07:21 PM
Frustrated by install problems csuttle Mandriva 9 08-25-2003 09:33 AM
Frustrated at the install stage Gev Linux - General 1 12-17-2002 03:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration