[opensuse] Compiling a metalink client - aria2 - impossible
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I'm trying to get ready the aria2 metalink client (aria2-0.9.0.tar.bz2) in time for the suse 10.2 release. I get this error in the configure run: checking for xml2-config... /usr/bin/xml2-config checking for libxml - version >= 2.6.24... *** An old version of libxml (2.6.23) was found. *** You need a version of libxml newer than 2.6.24. The latest version of *** libxml is always available from ftp://ftp.xmlsoft.org. It wants xml2 version 2.6.24, and SuSE 10.1 has 2.6.23: thus xml support will not be compiled. This is necesary for metalink support: |Dependency | | For HTTPS support, you need GNU TLS or OpenSSL. | For BitTorrent support, you need GNU TLS+libgcrypt or OpenSSL. | In order to enable Metalink support, you need libxml2. Optionally GNU | TLS+libgcrypt or OpenSSL are required for checksum checking support(MD5, SHA1). | For asynchronous DNS support, you need c-ares or ares. So... where do we get a metalink program for 10.1, preferably as a ready made rpm? - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFdutHtTMYHG2NR9URAsaOAJ9XF4F8mE6iLrdox+lcOpbFjI1b4QCeORhk eCRMLuUnNl1VlVeYwmJ+Xb8= =clay -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Carlos E. R.
So... where do we get a metalink program for 10.1, preferably as a ready made rpm?
http://ftp.gwdg.de/pub/linux/misc/suser-guru/rpm/10.1/ -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2006-12-06 at 12:01 -0500, Patrick Shanahan wrote:
* Carlos E. R.
[12-06-06 11:13]: So... where do we get a metalink program for 10.1, preferably as a ready made rpm?
Mmmm.... why is that not under "/pub/opensuse/repositories"? And why is the link not pointed at in http://en.opensuse.org/Released_Version#Metalink? There is no src tree to check how they compiled it. I can not see if it has metalink support compiled in. And it has unsolved dependencies: nimrodel:~ # rpm --test --install /xtr/cer/download/updates/10.1/suse-guru/aria2-0.9.0-1.guru.suse101.i686.rpmwarning: /xtr/cer/download/updates/10.1/suse-guru/aria2-0.9.0-1.guru.suse101.i686.rpm: Header V3 DSA signature: NOKEY, key ID 58857177 error: Failed dependencies: libcares.so.1 is needed by aria2-0.9.0-1.guru.suse101.i686 It does not say which rpm has that libcares.so.1: it is not part of the SuSE 10.1 distro, that I can vouch for. I can not install it. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFdwTftTMYHG2NR9URAiiQAJ4sEVZQYYJubit6XXmh8xlWYyHxrgCglE0Z FDdh0UUY4y7SNZ0I9MpBrvI= =UGOs -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Mittwoch, 6. Dezember 2006 18:58 schrieb Carlos E. R.:
The Wednesday 2006-12-06 at 12:01 -0500, Patrick Shanahan wrote:
* Carlos E. R.
[12-06-06 11:13]: So... where do we get a metalink program for 10.1, preferably as a ready made rpm?
Mmmm.... why is that not under "/pub/opensuse/repositories"?
because it's not a "official" suse buildtree repository, but a thirdparty repository, like packman. bye, MH -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Carlos E. R.
Mmmm.... why is that not under "/pub/opensuse/repositories"?
?? it is in the old suser's directory which still has new packages
And why is the link not pointed at in http://en.opensuse.org/Released_Version#Metalink?
??
There is no src tree to check how they compiled it. I can not see if it has metalink support compiled in.
And it has unsolved dependencies:
nimrodel:~ # rpm --test --install /xtr/cer/download/updates/10.1/suse-guru/aria2-0.9.0-1.guru.suse101.i686.rpmwarning: /xtr/cer/download/updates/10.1/suse-guru/aria2-0.9.0-1.guru.suse101.i686.rpm: Header V3 DSA signature: NOKEY, key ID 58857177 error: Failed dependencies: libcares.so.1 is needed by aria2-0.9.0-1.guru.suse101.i686
It does not say which rpm has that libcares.so.1: it is not part of the SuSE 10.1 distro, that I can vouch for.
you _need_ to import the gpg key as with any signed location. And you do know guru. c-ares containes libcares and is available in the same location.
I can not install it.
for what reason?? -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2006-12-06 at 13:36 -0500, Patrick Shanahan wrote:
Mmmm.... why is that not under "/pub/opensuse/repositories"?
?? it is in the old suser's directory which still has new packages
Because the other is the official one.
And why is the link not pointed at in http://en.opensuse.org/Released_Version#Metalink?
??
[Annoyed mode on] The people there want us to use metalink to download the new 10.2 version, but they do not provide an rpm for a working metalink client (or they are silent about it). They must be using the factory version of 10.2 where there is obviously one and therefore do not see the need to provide one for us lowly users :-/
There is no src tree to check how they compiled it. I can not see if it has metalink support compiled in.
And it has unsolved dependencies:
nimrodel:~ # rpm --test --install /xtr/cer/download/updates/10.1/suse-guru/aria2-0.9.0-1.guru.suse101.i686.rpmwarning: /xtr/cer/download/updates/10.1/suse-guru/aria2-0.9.0-1.guru.suse101.i686.rpm: Header V3 DSA signature: NOKEY, key ID 58857177 error: Failed dependencies: libcares.so.1 is needed by aria2-0.9.0-1.guru.suse101.i686
It does not say which rpm has that libcares.so.1: it is not part of the SuSE 10.1 distro, that I can vouch for.
you _need_ to import the gpg key as with any signed location.
I know that. Didn't you notice the --test in the command line? I simply haven't bothered about that part yet.
And you do know guru.
No, I don't. I have never used it. I compile my own extras, I only use ready made ones if on a hurry or if it is too complex.
c-ares containes libcares and is available in the same location.
And how on earth was I to know that libcares.so.1 is included in c-ares? The nice thing about rpms is that they solve the dependency problem telling you straight away which other rpms are needed to install this one. It is absurd to say that a certain file is needed without specifying the exact rpm needed. All that tells me that it was unreliable built, combined with the fact that they do not provide the src.rpm I don't like that repository :-(
I can not install it.
for what reason??
[I am still in annoyed mode ;-) ] Because of unsolved dependencies. You knew, somehow, which other rpm I needed, but not me - and I'm not a newbie, am I? ;-) I had a look at the c-ares rpm. It is a fork of "ares" for the particular use of the "curl" project. It is optionally needed by "aria2" because: | In order to enable async DNS support, you need c-ares or ares. | c-ares: http://daniel.haxx.se/projects/c-ares/ | ares: ftp://athena-dist.mit.edu/pub/ATHENA/ares I don't want to install that one, and I still want to compile aria2 - or an official rpm for aria2. I will have a look at "wxDownload Fast" instead. [...] I can't... | Unable to connect | | Firefox can't establish a connection to the server at | prdownloads.sourceforge.net. [ upgrading to very annoyed mode ;-) ] - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFdx4ctTMYHG2NR9URAkt9AJ0Usts7w94zGxyBUoyRrvEH2Mf3kwCePR2z TIfq4I8UQJai991faX0PTMQ= =jS+H -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2006-12-06 13:46, Carlos E. R. wrote:
The Wednesday 2006-12-06 at 13:36 -0500, Patrick Shanahan wrote:
Mmmm.... why is that not under "/pub/opensuse/repositories"? ?? it is in the old suser's directory which still has new packages
Because the other is the official one.
Do you use Packman at all?
And why is the link not pointed at in http://en.opensuse.org/Released_Version#Metalink? ??
[Annoyed mode on]
"Metalinks for ISOs are available at Metalink @ Packages Resources http://download.packages.ro/metalink/opensuse/" The last 3 words -are- a link.
And you do know guru.
No, I don't. Good grief, guru is Pascal Bleser. -- The best way to accelerate a computer running Windows is at 9.81 m/s²
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2006-12-06 at 14:33 -0600, Darryl Gregorash wrote:
Because the other is the official one. Do you use Packman at all?
Only once. I know it, I point others to it, but I compile my own. I know, it's me, I'm that way :-p
And why is the link not pointed at in http://en.opensuse.org/Released_Version#Metalink? ??
[Annoyed mode on] "Metalinks for ISOs are available at Metalink @ Packages Resources http://download.packages.ro/metalink/opensuse/"
I knew that site. It does not have rpms of any metalink client - and that is what I'm talking about.
And you do know guru.
No, I don't. Good grief, guru is Pascal Bleser.
I know him from the list, and I like his emails. But I didn't know he compiled the things at that site. How could I? It's a pseudonym. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFdzOttTMYHG2NR9URAhpCAJ4vSPv+Q2bnMZbEmD2xH78pRrZlvACfaPFM VdMfOudCoJejyGoYmODc9MI= =A2Yk -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Carlos E. R.
Good grief, guru is Pascal Bleser.
I know him from the list, and I like his emails. But I didn't know he compiled the things at that site. How could I? It's a pseudonym.
:^) it's also his email name -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2006-12-06 at 16:32 -0500, Patrick Shanahan wrote:
I know him from the list, and I like his emails. But I didn't know he compiled the things at that site. How could I? It's a pseudonym.
:^) it's also his email name
Huh? No, it is pascal.bleser@ something. And I don't usually look at them. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFd1+ztTMYHG2NR9URAjByAJ0UNcB6T/5juW5omRPWJxsSr18PSQCaAoRg DrNB005YvCDZkKqWRcj1HKg= =10FL -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Carlos E. R.
Huh? No, it is pascal.bleser@ something. And I don't usually look at them.
ok, don't know where I got that :^( -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2006-12-06 18:26, Carlos E. R. wrote:
The Wednesday 2006-12-06 at 16:32 -0500, Patrick Shanahan wrote:
I know him from the list, and I like his emails. But I didn't know he compiled the things at that site. How could I? It's a pseudonym. :^) it's also his email name
Huh? No, it is pascal.bleser@ something. And I don't usually look at them.
Well, you could import his PGP key, and then you would find he is that -and- he is also "Pascal Bleser (RPM signing key) guru@unixtech.be" :-) (duck-and-run) -- The best way to accelerate a computer running Windows is at 9.81 m/s² -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2006-12-06 at 18:52 -0600, Darryl Gregorash wrote:
Well, you could import his PGP key, and then you would find he is that -and- he is also "Pascal Bleser (RPM signing key) guru@unixtech.be" :-)
(duck-and-run)
:-) I have his key imported for email and yes, you are right, it is there. And it is also in his signature (the email footer). But as I said, I hadn't noticed. Honest! - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFd2r0tTMYHG2NR9URAlJLAJwMqyWvsVzx6ODWxaKmNnzJsP7COQCdELvq x2co4MfNcCcMbNPlw5Q7c7M= =OYO8 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2006-12-06 15:18, Carlos E. R. wrote:
<snip>
Good grief, guru is Pascal Bleser.
I know him from the list, and I like his emails. But I didn't know he compiled the things at that site. How could I? It's a pseudonym.
You need to have planetsuse.org on your list of reading material. You can learn a lot of interesting things there; for example, just yesterday (Tuesday), James Ogley claims to have had a "very busy day at college", yet still had time to watch Liverpool lose a football match :-) To be fair, however, James also did a whole bunch of work on Gnome yesterday, which is commendable even though I detest Gnome :-) -- The best way to accelerate a computer running Windows is at 9.81 m/s² -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 06 December 2006 22:11, Darryl Gregorash wrote:
On 2006-12-06 15:18, Carlos E. R. wrote:
<snip>
Good grief, guru is Pascal Bleser.
I know him from the list, and I like his emails. But I didn't know he compiled the things at that site. How could I? It's a pseudonym.
You need to have planetsuse.org on your list of reading material. You can learn a lot of interesting things there; for example, just yesterday (Tuesday), James Ogley claims to have had a "very busy day at college", yet still had time to watch Liverpool lose a football match :-)
I think you misspelled "The Mighty Liverpool" in the above paragraph :) Cheers Pete PS The referee was obviously optically challenged -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2006-12-06 at 16:11 -0600, Darryl Gregorash wrote:
<snip>
Good grief, guru is Pascal Bleser.
I know him from the list, and I like his emails. But I didn't know he compiled the things at that site. How could I? It's a pseudonym.
You need to have planetsuse.org on your list of reading material. You can learn a lot of interesting things there; for example, just yesterday (Tuesday), James Ogley claims to have had a "very busy day at college", yet still had time to watch Liverpool lose a football match :-)
Argh! I just barely have time to read my technical things plus my real life, then you want me to read gossip on top of it? X'-) :-P I didn't know that site. I just read Miguel de Icaza's "A Night at the Movies". I don't usually those things. I prefer reading things like "The ringworld throne" or "El sol de Breda" (Breda's sun), franlky,
To be fair, however, James also did a whole bunch of work on Gnome yesterday, which is commendable even though I detest Gnome :-)
I thought he had dropped that time ago. I guess he can't ;-) (I do like both Gnome and Kde, by the way ;-) ) - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFd2KttTMYHG2NR9URAgHtAJ0e+0+9AHO6uq0TC8eg9froR6aq7QCfXsmB snn0+5mxytcvoE8zUSiwkeg= =MRLK -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Carlos E. R.
And you do know guru.
No, I don't.
Pascal Bleser, very active on SUSE/openSUSE lists/community
I have never used it. I compile my own extras, I only use ready made ones if on a hurry or if it is too complex.
c-ares containes libcares and is available in the same location.
And how on earth was I to know that libcares.so.1 is included in c-ares?
'smart' told me 16:08 wahoo:~ # smart query --show-provides /usr/lib64/libcares.so.1 c-ares-1.3.2-1.guru.suse101@x86_64 Provides: c-ares = 1.3.2-1.guru.suse101@x86_64 libcares.so.1()(64bit)
[I am still in annoyed mode ;-) ]
you are allowed :^), I have my days toooo
Because of unsolved dependencies. You knew, somehow, which other rpm I needed, but not me - and I'm not a newbie, am I? ;-)
above
[ upgrading to very annoyed mode ;-) ]
It *will* get better. cu, -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2006-12-06 at 16:10 -0500, Patrick Shanahan wrote:
And you do know guru.
No, I don't.
Pascal Bleser, very active on SUSE/openSUSE lists/community
Ah, yes, him I do know - but not his pseudonim. That's diferent :-)
c-ares containes libcares and is available in the same location.
And how on earth was I to know that libcares.so.1 is included in c-ares?
'smart' told me
I don't use smart. I don't even have it. The command "rpm -test -i aria2.rpm" should have told me that: there is a "requires" token in the spec file precissely for that purpose, to list the required rpms, no need to go searching. I tried "pin" and "zgrep" on a larger archive.
[I am still in annoyed mode ;-) ]
you are allowed :^), I have my days toooo
Thanks O:-)
[ upgrading to very annoyed mode ;-) ]
It *will* get better.
It did. I got "wxDownload Fast" compiled, instead, and I will try that one. The aria2 goes out of the window. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFdzWgtTMYHG2NR9URAlTgAJ9mvE2M8fijKfcb1fZ0VjIAemlivACfScN8 5KJQuJqtVpJbx0fPxM7fjxo= =FzRi -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Carlos E. R. wrote:
The Wednesday 2006-12-06 at 16:10 -0500, Patrick Shanahan wrote: ...
c-ares containes libcares and is available in the same location. And how on earth was I to know that libcares.so.1 is included in c-ares?
That's basically what repositories are made for. What are you expecting ? Black magic ? Just because c-ares does not ship with SUSE, I shouldn't have built c-ares async DNS support in my aria2 RPMs ? There's a lot of packages you wouldn't get anywhere for SUSE Linux then.
'smart' told me ... The command "rpm -test -i aria2.rpm" should have told me that: there is a "requires" token in the spec file precissely for that purpose, to list the required rpms, no need to go searching.
No it is not. Using Requires: with explicit package names is considered bad practice. Again, as you didn't care to answer that in my previous mail: all of the RPMs build by the SUSE packagers and all the RPMs that are on the Build Service are done exactly the same way: *without* explicit Requires. That's what AutoReqProv is for, and package managers can resolve those automatic dependencies back to packages. Don't tell me I suck at building RPMs. ...
It did. I got "wxDownload Fast" compiled, instead, and I will try that one. The aria2 goes out of the window.
aria2 works really well though, very lightweight (uses even less RAM
than rtorrent).
And it's not even that hard to compile:
autoreconf -fiv
export CXXFLAGS="-I/usr/include/libxml2"
./configure --prefix=/usr/local \
- --enable-gnutls \
- --enable-bittorrent \
- --enable-metalink
make
make install
The only trick is
export CXXFLAGS="-I/usr/include/libxml2"
You could have looked at the .spec file in my aria2.src.rpm as I pointed
you to the directory where it is available from:
http://ftp.skynet.be/pub/suser-guru/rpm/packages/Network/aria2/src/
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\
On 2006-12-06 16:27, Pascal Bleser wrote:
You could have looked at the .spec file in my aria2.src.rpm as I pointed you to the directory where it is available from: http://ftp.skynet.be/pub/suser-guru/rpm/packages/Network/aria2/src/
In fairness to Carlos, it is not intuitive that one should look there for the sources. I did not know that is where you kept the sources, because I have never needed to look for them in your repository. Neither is there anywhere that I know where it is explained that is how to locate the sources for a package, unless there is a README I missed, or you have it somewhere in your personal website. PS and OT, nice slam-dunk on Groklaw about their OOo nonsense -- good thing I removed them from my bookmarks long ago, I don't have to do that now. I do, however, dispute the comparison with slashdot. If anything, Groklaw has sunk lower :-) -- The best way to accelerate a computer running Windows is at 9.81 m/s² -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2006-12-06 at 23:27 +0100, Pascal Bleser wrote:
Carlos E. R. wrote:
The Wednesday 2006-12-06 at 16:10 -0500, Patrick Shanahan wrote: ...
c-ares containes libcares and is available in the same location. And how on earth was I to know that libcares.so.1 is included in c-ares?
That's basically what repositories are made for. What are you expecting ? Black magic ? Just because c-ares does not ship with SUSE, I shouldn't have built c-ares async DNS support in my aria2 RPMs ?
I'm not saying that. What I say is that using the command line "rpm -i ..." there is no way I can know what package contains that library. And I insist that I don't want to add a new repository to Yast, because that operation takes over an hour, and then YOU takes even longer to start. I understand that repositories solve it another way - I didn't know that previously - but that makes things more difficult for installing a single lone rpm. Now I also know that looking inside the filelists.xml.gz file of the repository and searching for the file in question, I can learn the name of the missing rpm.
There's a lot of packages you wouldn't get anywhere for SUSE Linux then.
'smart' told me ... The command "rpm -test -i aria2.rpm" should have told me that: there is a "requires" token in the spec file precissely for that purpose, to list the required rpms, no need to go searching.
No it is not. Using Requires: with explicit package names is considered bad practice.
Again, as you didn't care to answer that in my previous mail: all of the RPMs build by the SUSE packagers and all the RPMs that are on the Build Service are done exactly the same way: *without* explicit Requires. That's what AutoReqProv is for, and package managers can resolve those automatic dependencies back to packages.
What is it I did not answer? :-? And now that you explain it that way it is understandable why you make it that way. You probably know better than me, but I prefer explicit "requires".
Don't tell me I suck at building RPMs.
Hey! You are way too touchy. I never said that, and even less referring to _you_. I didn't know it was you. And that's true even if you don't believe me.
...
It did. I got "wxDownload Fast" compiled, instead, and I will try that one. The aria2 goes out of the window.
aria2 works really well though, very lightweight (uses even less RAM than rtorrent).
That's understandable, and that's why I wanted to try that one first.
And it's not even that hard to compile: autoreconf -fiv export CXXFLAGS="-I/usr/include/libxml2" ./configure --prefix=/usr/local \ --enable-gnutls \ --enable-bittorrent \ --enable-metalink make make install
The only trick is export CXXFLAGS="-I/usr/include/libxml2"
That's similar to the method I have used, except the autoreconf part (which bombs out in my system, anyway). But the CXXFLAGS trick doesn't work; observe what I get: checking for libxml - version >= 2.6.24... *** An old version of libxml (2.6.23) was found. *** You need a version of libxml newer than 2.6.24. The latest version of *** libxml is always available from ftp://ftp.xmlsoft.org. *** It still wants a newer version of the libxml, and without it, metalink support is disabled.
You could have looked at the .spec file in my aria2.src.rpm as I pointed you to the directory where it is available from: http://ftp.skynet.be/pub/suser-guru/rpm/packages/Network/aria2/src/
Because 1) I haven't had time yet, I was answering email and attending my real life; and 2) because when I was trying to compile it I didn't know of that site and the relation to the one I was told about. Why isn't it there at "ftp.gwdg.de/pub/linux/misc/suser-guru/rpm/10.1/RPMS/src"? That's where I would expect source rpms to be. [...] I got it compiled with a hack: editing the configure script thus: min_xml_version=2.6.23 # min_xml_version=2.6.24 With that single change, the configure and make works fine (no parameters needed), and the programs seems to run fine, too - so does your version, of course, which I have also installed and used, but I prefer my own if I can get it ;-) And this solves my original question :-) - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFeJ61tTMYHG2NR9URAgWQAKCQdfKMGWq0rMM6K6mHeDeFSADuCgCglQ0J BtDTEiBEtkl9JAc6hOHMPyg= =fEyL -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Carlos E. R. wrote:
The Wednesday 2006-12-06 at 23:27 +0100, Pascal Bleser wrote:
Carlos E. R. wrote:
The Wednesday 2006-12-06 at 16:10 -0500, Patrick Shanahan wrote: ...
>> c-ares containes libcares and is available in the same >> location. > And how on earth was I to know that libcares.so.1 is included in c-ares? That's basically what repositories are made for. What are you expecting ? Black magic ? Just because c-ares does not ship with SUSE, I shouldn't have built c-ares async DNS support in my aria2 RPMs ?
I'm not saying that. What I say is that using the command line "rpm -i ..." there is no way I can know what package contains that library.
True. But that's what package managers are made for ;)
And I insist that I don't want to add a new repository to Yast, because that operation takes over an hour, and then YOU takes even longer to start. I understand that repositories solve it another way - I didn't know that previously - but that makes things more difficult for installing a single lone rpm.
Certainly, but really, there's no other way to do it. Packages do have dependencies. Adding a repository taking hours is a problem with YaST in 10.1, not with the repository itself ;) ...
Don't tell me I suck at building RPMs.
Hey! You are way too touchy. I never said that, and even less referring to _you_. I didn't know it was you. And that's true even if you don't believe me.
You certainly implied it, pretty much. But whatever, I guess we both had a bad day ;)
...
It did. I got "wxDownload Fast" compiled, instead, and I will try that one. The aria2 goes out of the window.
aria2 works really well though, very lightweight (uses even less RAM than rtorrent).
That's understandable, and that's why I wanted to try that one first.
And it's not even that hard to compile: autoreconf -fiv export CXXFLAGS="-I/usr/include/libxml2" ./configure --prefix=/usr/local \ --enable-gnutls \ --enable-bittorrent \ --enable-metalink make make install
The only trick is export CXXFLAGS="-I/usr/include/libxml2"
That's similar to the method I have used, except the autoreconf part (which bombs out in my system, anyway).
Hmm.. strange, it works here. I do "autoreconf -fiv" in my spec file. You must have autoconf, automake, libtool, gettext-devel and intltool installed to do the autoreconf.
But the CXXFLAGS trick doesn't work; observe what I get: checking for libxml - version >= 2.6.24... *** An old version of libxml (2.6.23) was found. *** You need a version of libxml newer than 2.6.24. The latest version of *** libxml is always available from ftp://ftp.xmlsoft.org. *** It still wants a newer version of the libxml, and without it, metalink support is disabled.
Ok, that's another problem. Forgot about that one. libxml2-2.6.24 packages are available from Packman. But it works fine when using libxml2-2.6.23 at runtime.
You could have looked at the .spec file in my aria2.src.rpm as I pointed you to the directory where it is available from: http://ftp.skynet.be/pub/suser-guru/rpm/packages/Network/aria2/src/
Because 1) I haven't had time yet, I was answering email and attending my real life; and 2) because when I was trying to compile it I didn't know of that site and the relation to the one I was told about.
Why isn't it there at "ftp.gwdg.de/pub/linux/misc/suser-guru/rpm/10.1/RPMS/src"? That's where I would expect source rpms to be.
No there isn't. With the directory layout I use, the src package is always in a "src" subdirectory of the binary packages. And I dropped src repositories because: http://dev-loki.blogspot.com/2006/11/repository-stripping.html
I got it compiled with a hack: editing the configure script thus: min_xml_version=2.6.23 # min_xml_version=2.6.24
That's an option as well.
With that single change, the configure and make works fine (no parameters needed), and the programs seems to run fine, too - so does your version,
If it runs that way, I'll patch the next build of aria2 like that.
of course, which I have also installed and used, but I prefer my own if I can get it ;-) And this solves my original question :-)
BTW, I just built ares2 RPMs that don't require cares at runtime (hacked
the autofools files to link it statically) -- it's in ares2-0.9.0-2 and
will be on the server and mirrors in a few hours.
cheers
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2006-12-08 at 00:33 +0100, Pascal Bleser wrote: ...
And I insist that I don't want to add a new repository to Yast, because that operation takes over an hour, and then YOU takes even longer to start. I understand that repositories solve it another way - I didn't know that previously - but that makes things more difficult for installing a single lone rpm.
Certainly, but really, there's no other way to do it. Packages do have dependencies. Adding a repository taking hours is a problem with YaST in 10.1, not with the repository itself ;)
Of course, of course :-)
...
Don't tell me I suck at building RPMs.
Hey! You are way too touchy. I never said that, and even less referring to _you_. I didn't know it was you. And that's true even if you don't believe me.
You certainly implied it, pretty much. But whatever, I guess we both had a bad day ;)
That's right. Sorry if I gave that impression. I was frustrated at the moment.
That's similar to the method I have used, except the autoreconf part (which bombs out in my system, anyway).
Hmm.. strange, it works here. I do "autoreconf -fiv" in my spec file. You must have autoconf, automake, libtool, gettext-devel and intltool installed to do the autoreconf.
Dunno... I have never used autoreconf, I'm not a linux developer... I always start with "configure". Too many tricks to learn, so I skipped that one O:-)
But the CXXFLAGS trick doesn't work; observe what I get: checking for libxml - version >= 2.6.24... *** An old version of libxml (2.6.23) was found. *** You need a version of libxml newer than 2.6.24. The latest version of *** libxml is always available from ftp://ftp.xmlsoft.org. *** It still wants a newer version of the libxml, and without it, metalink support is disabled.
Ok, that's another problem. Forgot about that one. libxml2-2.6.24 packages are available from Packman.
I thought you might, but as I didn't see it on your repository, I had doubts. Heh, static requires would have catched that one ;-)
But it works fine when using libxml2-2.6.23 at runtime.
Yes, it seems so.
Why isn't it there at "ftp.gwdg.de/pub/linux/misc/suser-guru/rpm/10.1/RPMS/src"? That's where I would expect source rpms to be.
No there isn't. With the directory layout I use, the src package is always in a "src" subdirectory of the binary packages. And I dropped src repositories because: http://dev-loki.blogspot.com/2006/11/repository-stripping.html
Ah, I see. A good reason, and not many people use the src rpm. I don't, for instance, with some exceptions; but some times I have a look at them for clues. Perhaps you could add a note at the repository?
I got it compiled with a hack: editing the configure script thus: min_xml_version=2.6.23 # min_xml_version=2.6.24
That's an option as well.
With that single change, the configure and make works fine (no parameters needed), and the programs seems to run fine, too - so does your version,
If it runs that way, I'll patch the next build of aria2 like that.
It does run, but of course, I can't vouch whether there is some unknown circumstance in which it wont. That would be a question for their developers. It's just a hack. In fact, Anthony Bryan told me that they lowered the requirement from 2.6.26 to 2.6.24 for Ubuntu, so it is already lower than they originally designed.
BTW, I just built ares2 RPMs that don't require cares at runtime (hacked the autofools files to link it statically) -- it's in ares2-0.9.0-2 and will be on the server and mirrors in a few hours.
Good. Mine uses neither, I haven't bothered O:-) I suppose it will be slower finding sites, but that doesn't matter for me. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFeLHNtTMYHG2NR9URAr7QAJwPjP4uriWj4HJCx0KYE3U+ILT1wwCeP9u+ /CtMPj72zmTNSwvPnImIl1I= =Q/15 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Carlos E. R. wrote:
The Wednesday 2006-12-06 at 13:36 -0500, Patrick Shanahan wrote:
Mmmm.... why is that not under "/pub/opensuse/repositories"? ?? it is in the old suser's directory which still has new packages
Because the other is the official one.
"Official" what ? I've been building RPMs for SUSE Linux long, long, long before the openSUSE Build Service. I don't build in the Build Service because I have my own infrastructure. And because some of the packages I maintain cannot be included in the Build Service for legal reasons (same story as Packman). And because it's less hassle and quicker for me to build it on my own box than on the Build Service. Well, whatever, use my packages or don't.
And why is the link not pointed at in http://en.opensuse.org/Released_Version#Metalink? ??
[Annoyed mode on]
s/Annoyed/Paranoid/
The people there want us to use metalink to download the new 10.2 version, but they do not provide an rpm for a working metalink client (or they are silent about it). They must be using the factory version of 10.2 where there is obviously one and therefore do not see the need to provide one for us lowly users :-/
There is no src tree to check how they compiled it. I can not see if it has metalink support compiled in.
"they" is me. "no src tree" ? and what do you think this is ? http://ftp.skynet.be/pub/suser-guru/rpm/packages/Network/aria2/src/
And it has unsolved dependencies:
nimrodel:~ # rpm --test --install /xtr/cer/download/updates/10.1/suse-guru/aria2-0.9.0-1.guru.suse101.i686.rpmwarning: /xtr/cer/download/updates/10.1/suse-guru/aria2-0.9.0-1.guru.suse101.i686.rpm: Header V3 DSA signature: NOKEY, key ID 58857177 error: Failed dependencies: libcares.so.1 is needed by aria2-0.9.0-1.guru.suse101.i686
It does not say which rpm has that libcares.so.1: it is not part of the SuSE 10.1 distro, that I can vouch for.
http://ftp.skynet.be/pub/suser-guru/rpm/packages/Libraries/c-ares/
I know that. Didn't you notice the --test in the command line? I simply haven't bothered about that part yet.
And you do know guru.
No, I don't. I have never used it. I compile my own extras, I only use ready made ones if on a hurry or if it is too complex.
c-ares containes libcares and is available in the same location.
And how on earth was I to know that libcares.so.1 is included in c-ares?
This is called a "repository". Just add my repository and everything will be resolved properly. Does that really sound new to you ?
The nice thing about rpms is that they solve the dependency problem telling you straight away which other rpms are needed to install this one. It is absurd to say that a certain file is needed without specifying the exact rpm needed.
It's not absurd. Every single package on SUSE Linux and the openSUSE Build Service is also built that way.
All that tells me that it was unreliable built, combined with the fact that they do not provide the src.rpm
I don't like that repository :-(
I'll prefer to stay polite.
I can not install it. for what reason??
[I am still in annoyed mode ;-) ]
Because of unsolved dependencies. You knew, somehow, which other rpm I needed, but not me - and I'm not a newbie, am I? ;-)
If you're too stupid to add a repository, well, what can I say.
I had a look at the c-ares rpm. It is a fork of "ares" for the particular use of the "curl" project. It is optionally needed by "aria2" because:
| In order to enable async DNS support, you need c-ares or ares. | c-ares: http://daniel.haxx.se/projects/c-ares/ | ares: ftp://athena-dist.mit.edu/pub/ATHENA/ares
I don't want to install that one, and I still want to compile aria2 - or an official rpm for aria2.
I chose to build it full-featured, including async DNS support. If you don't like it, build it yourself. "I don't want to install that one"... you're kidding me, right ? c-ares is under 50kb
I will have a look at "wxDownload Fast" instead.
http://ftp.skynet.be/pub/suser-guru/rpm/packages/Network/wxdfast/
RPMs for 10.2 will be available there in a few hours.
cheers
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2006-12-06 at 22:13 +0100, Pascal Bleser wrote:
"Official" what ? I've been building RPMs for SUSE Linux long, long, long before the openSUSE Build Service.
I didn't know it was you. I follow your emails, but I had no way of knowing that "guru" was you.
has metalink support compiled in.
"they" is me. "no src tree" ? and what do you think this is ?
There is no http://ftp.gwdg.de/pub/linux/misc/suser-guru/rpm/10.1/RPMS/src where I can find the corresponding ...src.rpm.
And how on earth was I to know that libcares.so.1 is included in c-ares?
This is called a "repository". Just add my repository and everything will be resolved properly. Does that really sound new to you ?
No, it isn't. But I'm not adding a new source to Yast and wait a full hour for it to complete, in order to install a single rpm. I want to be able to install rpms from the command line using the rpm command. Normal rpms are built specifying the required rpms using the "requires" token. That is probably missing.
Because of unsolved dependencies. You knew, somehow, which other rpm I needed, but not me - and I'm not a newbie, am I? ;-)
If you're too stupid to add a repository, well, what can I say.
I told you why. And you know that I'm not stupid eiher. I did not fall into fall into name calling.
I chose to build it full-featured, including async DNS support. If you don't like it, build it yourself.
That's exactly what I'm trying to do and what I asked help in the list for. Do you know how to build it, then? I got a response from Anthony Bryan (http://www.metalinker.org) and he doesn't know how to solve it either. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFdzjgtTMYHG2NR9URAt/BAJ4hDwY83iqhVVGuQOihm51Ia0FoCACfXXoV yLu7XZJFtk0yqfkAQr/y64k= =SknI -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, 6 Dec 2006 20:46:26 +0100 (CET), Carlos E. R. wrote:
The nice thing about rpms is that they solve the dependency problem telling you straight away which other rpms are needed to install this one.
They usually *don't* tell you the rpms but rather the libraries missing.
It is absurd to say that a certain file is needed without specifying the exact rpm needed.
Rpm can't know the name of the rpm containing a certain library unless that name has been hardcoded into the spec file which in turn is frowned upon. The right way to do it is to let rpm determine the requirements and provisions by itself (AutoReqprov). Determining the rpm(s) needed to resolve dependencis is a job for tools like YaST, smart or apt. Philipp -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2006-12-08 at 15:20 +0100, Philipp Thomas wrote: ...
The right way to do it is to let rpm determine the requirements and provisions by itself (AutoReqprov). Determining the rpm(s) needed to resolve dependencis is a job for tools like YaST, smart or apt.
Probably so. Unfortunately, adding a repository to Yast takes about an hour or more; and from that point on, starting Yast software management modules takes more time due to the extra repository, and we don't talk of a minute or two here. That's very unfortunate when wanting to install a single rpm. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFeaU8tTMYHG2NR9URAsvYAJ0XASNOdoRyoFfJveg0UskxbakvTgCdFD+T tJptg21tkrHt8FwpDL0QHv4= =64j8 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (7)
-
Carlos E. R.
-
Darryl Gregorash
-
Mathias Homann
-
Pascal Bleser
-
Patrick Shanahan
-
Pete Connolly
-
Philipp Thomas