LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Make Install xmms-plugin install fail - deb sarge (https://www.linuxquestions.org/questions/linux-software-2/make-install-xmms-plugin-install-fail-deb-sarge-416935/)

Khepri 02-18-2006 02:16 PM

Make Install xmms-plugin install fail - deb sarge
 
Here's what I've got;

Quote:

debian:/tmp/mplayerplug-in# make install
g++ -c -o plugin-ui.o -Wall -g -O2 -I/usr/X11R6/include -g -O2 -DXP_UNIX -DMOZ_X11 -I/usr/include/mozilla/java -I/usr/include/mozilla/plugin -I/usr/include/mozilla -I/usr/include/mozilla/xpcom -I/usr/include/mozilla/string -I/usr/include/mozilla/nspr -I/usr/include/mozilla -Iinclude -fPIC -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DX_ENABLED Source/plugin-ui.cpp
Source/plugin-ui.cpp:6:21: X11/xpm.h: No such file or directory
Source/plugin-ui.cpp:48:2: #error libXpm has not been found. Compilation cannotcontinue
Source/plugin-ui.cpp: In function `void Initialize(Display*, long unsigned int,
nsPluginInstance*, _XGC*)':
Source/plugin-ui.cpp:72: error: `XpmCreatePixmapFromData' undeclared (first use
this function)
Source/plugin-ui.cpp:72: error: (Each undeclared identifier is reported only
once for each function it appears in.)
make: *** [plugin-ui.o] Error 1
debian:/tmp/mplayerplug-in# apt-get install libXpm
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package libXpm
debian:/tmp/mplayerplug-in# apt-get install libXpm-dev
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
libxpm-dev libxpm4
The following NEW packages will be installed:
libxpm-dev
The following packages will be upgraded:
libxpm4
1 upgraded, 1 newly installed, 0 to remove and 137 not upgraded.
Need to get 389kB of archives.
After unpacking 373kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://security.debian.org stable/updates/main libxpm4 4.3.0.dfsg.1-14sarge1 [195kB]
Get:2 http://security.debian.org stable/updates/main libxpm-dev 4.3.0.dfsg.1-14sarge1 [193kB]
Fetched 389kB in 2s (132kB/s)
(Reading database ... 74431 files and directories currently installed.)
Preparing to replace libxpm4 4.3.0.dfsg.1-14 (using .../libxpm4_4.3.0.dfsg.1-14sarge1_i386.deb) ...
Unpacking replacement libxpm4 ...
Selecting previously deselected package libxpm-dev.
Unpacking libxpm-dev (from .../libxpm-dev_4.3.0.dfsg.1-14sarge1_i386.deb) ...
Setting up libxpm4 (4.3.0.dfsg.1-14sarge1) ...

Setting up libxpm-dev (4.3.0.dfsg.1-14sarge1) ...
debian:/tmp/mplayerplug-in# make install
g++ -c -o plugin-ui.o -Wall -g -O2 -I/usr/X11R6/include -g -O2 -DXP_UNIX -DMOZ_X11 -I/usr/include/mozilla/java -I/usr/include/mozilla/plugin -I/usr/include/mozilla -I/usr/include/mozilla/xpcom -I/usr/include/mozilla/string -I/usr/include/mozilla/nspr -I/usr/include/mozilla -Iinclude -fPIC -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DX_ENABLEDSource/plugin-ui.cpp
Source/plugin-ui.cpp:48:2: #error libXpm has not been found. Compilation cannot continue
make: *** [plugin-ui.o] Error 1
debian:/tmp/mplayerplug-in#
As you can see I just successfully installed libXpm and still it says it can't find it...

Any ideas on how to resolve this?
TIA

Khepri 02-18-2006 04:24 PM

Solved.

Apparently it would not install from the /tmp direcory.

I moved everything back to /home, executed ./configure, make, make install from a directory there and it says it installed system-wide from there...

Permissioning problem?

/tmp is world writable by default I believe...

OTOH, I was logged in as root user doing all this...

Is there something about Debian that it will block system-wide installs from /tmp....seems like there would be for security reasons...

I imagine that I could have moved everything to /opt and installed from there also...

Maybe this will help someone else down the road.

Khepri 02-18-2006 10:05 PM

Not solved...
 
After all that getting it compiled and installed it has wreaked havoc with the system preferences...specifically the file associations for streaming audio....PLS files...

I keep getting the message that whenever I click on a playlist that the deault player is not installed...

I deleted the plugin installation (best I could)...apt-get remove xmms...deleted byhand tall the associations in KDE preferences...

Reinstalled the regular XMMS package...uninstall, reinstall....

I'm ripping my hair out!...No matter what...wehnI click on a playlist I get the error message....

FInally I saved the playlist to desktop...clicked on it there...XMMS starts and plays the remote stream with the error message MESSAGE: DEVICE: DEFAULT.....that's it nothing else to specify what the problem is....

Does anyone have any idea what I need to do to get this resolved? Beyond a complete system re-install (which I'm so frustrataed at this point I'm ready to do yet still reluctant as this is a QUAD-boot)?

EDIT: p.s. I was getting a message about libmikmodso.2 earlier but solved that by finally loading the package

EDIT2: Here's the exact message, it seems to be from KDE;

Download Error - /tmp/shoutcast-playlist.pls could not be opened, because the associated helper application does not exist. Change the association in your preferences.

As I said I've worked over the preferences repeatedly to no avail...it's as if KDE is not saving the changes?


All times are GMT -5. The time now is 06:39 PM.