| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hi group, I am interested in RPMs for AWS and XML/Ada packages. So I want to ask if there are any prepared packages (Fedora 9) or some tips/pointers (beside RPM How-to) how to build these RPMs by myself (and do something for the community )?Tomek |
|
#2
| |||
| |||
| Tomek Walkuski schrieb: > I am interested in RPMs for AWS and XML/Ada packages. So I want to ask > if there are any prepared packages (Fedora 9) or some tips/pointers > (beside RPM How-to) how to build these RPMs by myself (and do > something for the community )?There are rpm SPEC files for both AWS and XML/Ada inside the Subversion repository. You could just try them out and come back with your problems (or the finished RPM's) Regards Martin -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com |
|
#3
| |||
| |||
| What is the best way to set ADA_OBJECTS_PATH and so on during installation in Fedora? Modify /etc/profile? |
|
#4
| |||
| |||
| Ok, maybe it is "dumb" question, but I will risk: I have done: 1. untar xmlada 2. configure and make in xmlada/ 3. copied all *.ali into (for example) /usr/lib/xmlada 4. copied all *.ads and *.adb into /usr/include/xmlada 5. wrote small script a'la gtkada-config which prints paths to libraries: gnatmake sample -aI/usr/include/xmlada -iO/usr/lib/xmlada -largs -L/ usr/lib/xmlada and... sample.adb builds fine, but with with lots of *.ali's and *.o's in directory. And my dumb question: how to avoid this? |
|
#5
| |||
| |||
| Tomek Walkuski a écrit : > Ok, maybe it is "dumb" question, but I will risk: [snip] > And my dumb question: how to avoid this? Ok, maybe it is a "dumb" answer, but I will risk it: What about reading the documentation on how to build and install XML/Ada? Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.net --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595 |
|
#6
| |||
| |||
| On 7 Sie, 21:17, Pascal Obry <pas...@obry.net> wrote: > Ok, maybe it is a "dumb" answer, but I will risk it: > > What about reading the documentation on how to build and install XML/Ada? > > Pascal. > Yes, I know, I should set ADA_OBJECTS_PATH and so on, but, in Fedora, use of environment variables is discouraged. So I try GtkAda approach with script. |
|
#7
| |||
| |||
| Tomek Walkuski wrote: > Ok, maybe it is "dumb" question, but I will risk: > > I have done: > 1. untar xmlada > 2. configure and make in xmlada/ > 3. copied all *.ali into (for example) /usr/lib/xmlada > 4. copied all *.ads and *.adb into /usr/include/xmlada Where are the *.o files? > 5. wrote small script a'la gtkada-config which prints paths to > libraries: > gnatmake sample -aI/usr/include/xmlada -iO/usr/lib/xmlada -largs -L/ > usr/lib/xmlada > > and... sample.adb builds fine, but with with lots of *.ali's and *.o's > in directory. > > And my dumb question: how to avoid this? In addition to having the *.o files available, you should write-protect the *.ali files. -- Jeff Carter "To Err is human, to really screw up, you need C++!" Stéphane Richard 63 |
|
#8
| |||
| |||
| Tomek Walkuski a écrit : > Yes, I know, I should set ADA_OBJECTS_PATH and so on, but, in Fedora, > use of environment variables is discouraged. So I try GtkAda approach > with script. No you should use the project files and the documented way to build and install XML/Ada: $ ./configure --prefix=... $ make as root: $ make install You do not have to copy *.ali/*.ads/*.adb manually! Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://www.obry.net --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595 |
|
#9
| |||
| |||
| On Aug 7, 12:22 pm, Tomek Walkuski <tomek.walku...@gmail.com> wrote: > Yes, I know, I should set ADA_OBJECTS_PATH and so on, but, in Fedora, > use of environment variables is discouraged. That last is a pretty amazing assertion---are you sure it's accurate? I use a Fedora system, and I use environment variables the way I would on any Linux or other Unix variant (I don't see how you can get by without them). Who has said environment variables are discouraged, and where? I mean, if I'm using environment variables but was not aware that they could increase my risk of system problems or skin cancer or warts or something, I'd like to know... -- Adam |
|
#10
| |||
| |||
| Try http://rpmfind.net/linux/rpm2html/se...query=gcc-gnat They have both source and binaries available for download for (Fedora 9). Also you can choose from x86_32 or x86_64, or ppc. "The Fedora Development for xxx" should be GNAT-2008, because they were added on Aug 1, 2008, using gcc-4.3.1-6. The Fedora 9, version is GNAT-2007 using gcc-4.3.0-8. As for the environment variable the binaries RPM set those up for you. If you build from the source, GNAT uses a the "configure" program, by adding the command line option " --prefix=/...". In <02a86743-d112-4831-9650-aac4a9586b51@27g2000hsf.googlegroups.com>, Tomek Walkuski <tomek.walkuski@gmail.com> writes: >Hi group, > >I am interested in RPMs for AWS and XML/Ada packages. So I want to ask >if there are any prepared packages (Fedora 9) or some tips/pointers >(beside RPM How-to) how to build these RPMs by myself (and do >something for the community )?> >Tomek |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.