From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d99dc61bb22990d2 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news1.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!news.glorb.com!news2.glorb.com!news-xfer.nntp.sonic.net!posts.news.sonic.net!nnrp0.nntp.sonic.net!not-for-mail Message-ID: <4d7523a3$0$22170$742ec2ed@news.sonic.net> From: R Tyler Croy Subject: Re: Packaging and linking shared Ada libraries Newsgroups: comp.lang.ada References: <4d746dde$0$10593$742ec2ed@news.sonic.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: 07 Mar 2011 18:27:47 GMT Organization: Sonic.Net NNTP-Posting-Date: 07 Mar 2011 18:27:47 GMT NNTP-Posting-Host: 9f1c876d.news.sonic.net X-Trace: DXC=d3]AIoV1A9g]f X-Complaints-To: abuse@sonic.net Xref: g2news1.google.com comp.lang.ada:17951 Date: 2011-03-07T18:27:47+00:00 List-Id: Ludovic Brenta wrote: > R Tyler Croy wrote on comp.lang.ada: >> I'm trying to figure out how to package up and use XML/Ada for openSUSE and I'm >> having a bit of trouble trying to figure what actually needs to be packaged. >> >> Right now I'm packaging up the .so and the .ads files and trying to use them >> but to no avail: >> >>     tyler@spinach:~/source> gnatmake -aI/usr/include/xmlada -aO/usr/lib64 test.adb -largs -lxmlada >>     gnatmake: "dom-readers.adb" not found >>     tyler@spinach:~/source> >> >> I've seen this post on SO, but it didn't help: >>     >> >> Any ideas? Thoughts/etc? > > There is a full discussion of this topic in the Debian Policy for Ada: > > http://people.debian.org/~lbrenta/debian-ada-policy.html > > In particular read the sections defining the contents of the -dev and > runtime library packages. Ah, he speaks! I'll read up more on it this weekend. I was basing a lot of my work, once I got the rpm packaging basics down, off of your libxmlada3.2-5-dev package and maybe this document is the missing link for explaining some of the things you did :) Cheers -- - R. Tyler Croy -------------------------------------- Code: http://github.com/rtyler