LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-15-2005, 12:05 AM   #1
syentifiq
LQ Newbie
 
Registered: Mar 2005
Location: NY
Distribution: Slack 10
Posts: 6

Rep: Reputation: 0
WSoundServer problems


I'm trying to install WSoundServer but its having a problem with libdockapp. I downloaded lib dockapp and configure and make went fine but I had a these errors for make install:

/usr/bin/ginstall: cannot stat 'fonts.dir': No such file or directory
/usr/bin/ginstall: cannot stat 'fonts.alias': No such file or directory
make[2]: *** [install-data-local] Error 1
make[2]: Leaving directory ' . . . /libdockapp-0.5.0/fonts'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory ' . . . /libdockapp=0.5.0/fonts'
make: *** [install-recursive] Error 1

Since these errors were only for fonts, I checked /usr/local/lib to see if the libraries were installed and found:

libdockapp.a
libdockapp.la
libdockapp.so
libdockapp.so.2
libdockapp.so.2.0.0

So it seems that the libraries were installed correctly. I then tried to configure WSoundServer again and got this:

checking for DAInitialize in -ldockapp . . . no

ERROR ! ! ! libdockapp is not installed, or could not be found.
WSoundServer requires libdockapp to build.
Please read INSTALL to find where you can find libdockapp,
and install it first.
If you already have it installed, try using the
--with-libs-from flag to tell configure where the library
is installed and
--with-incs-from flag to tell configure where the header
files are installed

I checked out config.log and that told me the failure was at line 3055 of configure. So of course I took a look at configure but it didnt tell me anything new. I'd understand if it just couldnt find the directory but I previously had to install libproplist into the same directory and once that was installed it had no problem finding that. All this for some sounds. Anyway if anyone out there can help me out with this it'll be greatly appreciated. Oh yeah I'm using Slackware 10 the issue is with libdockapp 0.5.0 and WSoundServer 0.4.1. Thanks in advance for your help.
 
Old 03-19-2005, 05:43 PM   #2
syentifiq
LQ Newbie
 
Registered: Mar 2005
Location: NY
Distribution: Slack 10
Posts: 6

Original Poster
Rep: Reputation: 0
bump
 
Old 03-20-2005, 12:56 PM   #3
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Did you run 'ldconfig' after installing the libs? You may need to add a line to /etc/ldso.conf pointing to /usr/local/lib
Look and see if you have libdockapp in /usr/local/include.
The run:
./configure --with-libs-from=/usr/local/lib \ --with-incs-from=/usr/local/include

That's pretty old software you are trying to use -all having to do with the WindowMaker window manager. Are you trying to get the WindowMaker sounds to work?
Iy you are just wanting sound for playing CD's or mp3's and stuff like that, you don't need wsound server.
libproplist is a deprecated library used in older versions of window maker before 0.80, at least.
libdockapp is an accessory library needed by some fairly nice, and common, WindowMaker DockApps.
I use and love window maker, but use ALSA for sound. I've never tried to get the window maker sound going, though I recently downloaded all that stuff you are compiling.
You'll find a pre-compiled pkg for libdockapp on linuxpackages.net.
Be sure and look at the Makefiles before compiling and make sure that everything point to the right location -in the above cases everything seems to be properly installing itself in /usr/local.
Please report your results -I'd love to hear what sounds wMaker makes.
 
Old 03-23-2005, 09:39 PM   #4
syentifiq
LQ Newbie
 
Registered: Mar 2005
Location: NY
Distribution: Slack 10
Posts: 6

Original Poster
Rep: Reputation: 0
Progress

Ok I tried your suggestions but when I defined where the libraries and header files where my progress went backwards because then it couldn't find libProplist. Ok so then I ran configure with no arguments and checked config.log. The problem seems to have been isolated to this section of code:

#line 3055 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char DAInitialize();

int main() {
DAInitialize()
; return 0; }
EOF

I'm not even going to act like I understand whats going on there but to be as thorough as possible I decided to take a look at dockapp.h to check DAInitialize to see if I could find some more info and here is what I found:

/*
* DAInitialize-
* Initialize the dockapp, open a connection to the X Server,
* create the needed windows and set them up to become an appicon window.
* It will automatically detect if Window Maker is present and use
* an appropriate window form.
*
* You must call this always before calling anything else (except for
* DAParseArguments())
*
* Arguments:
* display - the name of the display to connect to.
* Use "" to use the default value.
* name - the name of your dockapp, used as the instance name
* for the WM_CLASS hint. Like wmyaclock.
* The ClassName is set to "DockApp" on default.
* width, height - the size of the dockapp window. 48x48 is the
* preferred size.
* argc, argc - the program arguments. argv[0] will be used
* as the instance name for the WM_CLASS hint.
*/
void DAInitialize(char *display, char *name, unsigned width, unsigned height,
int argc, char **argv);

I found something interesting though. I looked in /usr/local/include like you suggested for dockapp.h and I found it but I also found a copy of dockapp.h in /usr/include and of course when I cross checked the code I found that of course their sections for DAInitialize are different. So the previous is from /usr/include this is the DAInitialize section from /usr/local/include/dockapp.h:

* DAInitialize-
* Initialize the dockapp, open a connection to the X Server,
* create the needed windows and set them up to become an appicon window.
* It will automatically detect if Window Maker is present and use
* an appropriate window form.
*
* You must call this always before calling anything else (except for
* DAParseArguments())
*
* Arguments:
* display - the name of the display to connect to.
* Use "" to use the default value.
* name - the name of your dockapp, used as the instance name
* for the WM_CLASS hint. Like wmyaclock.
* The ClassName is set to "DockApp" on default.
* width, height - the size of the dockapp window. 48x48 is the
* preferred size.
* argc, argc - the program arguments. argv[0] will be used
* as the instance name for the WM_CLASS hint.
*/

#define DAInitialize(display, name, width, height, argc, argv) \
DAOpenDisplay(display, argc, argv); \
DACreateIcon(name, width, height, argc, argv);

I'm not sure how this affects my situation though. Thanks alot for your response though. Those suggestions helped me make alot of progress and I think I'm alot closer to a solution. Again any help from anyone out there is appreciated.
 
Old 01-29-2007, 11:57 AM   #5
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
I know this thread is very old, but I never forgot about getting sound working for Window Maker and recently did so.
See:
http://www.linuxquestions.org/questi...41#post2607541
for details.
 
  


Reply



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
WSoundServer problems part 2 syentifiq Linux - Software 1 03-19-2005 05:45 PM
Problems with OSS while trying to avoid problems in ALSA (scratchy sound) GT_Onizuka Linux - General 1 02-05-2004 11:55 PM
wsoundserver wysurya Linux - Software 1 09-01-2003 02:18 AM
Problems, problems, problems. Lets start with the soundcard Kre8ive Linux - Newbie 5 08-07-2003 01:20 AM
Problems, problems, problems. Lets start with the ES 1868 AudioDrive Kre8ive Linux - Newbie 1 08-06-2003 07:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:53 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
Open Source Consulting | Domain Registration