Deepak Dwarakanath wrote:
> Hi Guys,
>
> I am in need of certain libraries, which are debian packaged.
>
> libqt4-gui 
> libxerces27 
> libxalan110
> libicu36
>
>
> The usually error I get is like
> /sw/bin/dpkg: error processing libqt4-gui_4.4.3-1_i386.deb (--install):
> package architecture (i386) does not match system (darwin-i386)
> Errors were encountered while processing:
> libqt4-gui_4.4.3-1_i386.deb
>
>
> I am very new to FInk, could anyone please help me direct to how to
> build libraries from source to be compatible with fink.
>
> -- 
> Best regards.
>
> Deepak
Fink is not Debian, and OS X is not Linux.  Even if you were able to
install Debian Linux packages, they wouldn't work (unless they contained
no libraries or executables, perhaps).

Our packages aren't necessarily named the same as the Debian analogs. 
In this case you'd presumably want to install

qt4-mac-gui-shlibs | qt4-x11-gui-shlibs (depending on whether you want
the native Qt or the X11 version)
xerces-c-shlibs
libicu36-dev (the libraries are built in to the system but the headers
are not, so the -dev package is needed for other packages actually to
use them)
(but we don't have an analog to libxalan)

qt4 is currently only in the unstable tree, so you would need to turn
that on via "fink configure".  If you're on OS 10.5, you'll need to run
the following sequence once:

    fink selfupdate
    fink selfupdate-rsync
    fink index -f
    fink selfupdate

and then you'll have the unstable package descriptions, and will
thereafter just require "fink selfupdate" to update them.
To install Fink packages from source, use "fink install <packagenames>",
which in your case would be

    fink install qt4-gui-shlibs xerces-c-shlibs libicu36-dev

However, we don't currently have a C-based xalan library, just the
java-based xalan-j.  You might contact the xalan-j maintainer (via the
Maintainer address shown if you run 'fink info xalan-j') and see if he
would be interested in making the C library available, too.

-- 
Alexander Hansen
Fink User Liaison


------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to