Re: [linux-minidisc] using libusal for scsi access


On Fri, Apr 30, 2010 at 01:25:21PM +0200, manner.moe@gmx.de wrote:
> >Well, there's another problem here. "make install" does only install
> >wodim and the other utilities. Both the includes and the libraries for
> >the linker are not installed. I have to dig more into that cmake stuff
> >to understand why they are not installed.
> 
> 
> >Adrian
> 
> I´ve had the same problem on windows.
> You can change CMakeLists.txt in libusal subdirectory to build a shared lib.
> Look at my patch how i made it on windows.

Ok. I just checked on my Debian box. It seems, that even there the
headers and the linker libraries aren't installed. Should be fixed
upstream then. What's the point of a (portable) SCSI library if you
can't build your own code against without any hassles?

> But then you have to build libusal by building "include", "librols" and 
> "libusal" 
> in this order. I haven´t changed it to cause "make install" to install
> libusal.dll . I just coppied needed files into mingw directories manually on 
> windows. 

Ok, will check that.

> Else the libs are statically linked into the apps and are not installed.
> This is not a build problem on mac/windows, installation is just not included
> by the authors of cdrkit. 

Yeah, as I said before, even seems to be the same story on Debian. I
will check into that more thoroughly and report it as a bug if it's
really the case on all systems.

For now, we could ship libhimd with together with the (patched)
versions libusal.


Adrian