cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: packaging

From: Thufir <hawat.thufir_at_gmail.com>
Date: Fri, 5 Jun 2009 22:48:23 +0000 (UTC)

On Thu, 04 Jun 2009 11:18:39 +0200, Patrick Monnerat wrote:

>> In any event, I ran into some path problems in building the RPM
> because,
> to get the latest Java code, I used:
>
>> wget http://dev.gknw.com/viewvc/curl-java-root.tar.gz
>
> Thufir, I think you are mixing RPMs, tarballs and SVN:
>
> 1) The URL Guenter gave you is not the one above. If you really want to
> use tarball dynamic generation feature of ViewVC directly from wget, use
> URL
> http://dev.gknw.com/viewvc/curl-java-root.tar.gz?root=curl-java&parent=1
> &view=tar. But be aware this is definitely not a distribution tarball.
> In particular, it contains the whole SVN directory structure and
> buildconf has not yet been applied to the contents.
>
> 2) You are trying to use the old spec file with the new non-distro
> tarball.

I didn't know what the mismatch, but wanted to get the new JAR. Thanks,
it seems to have worked out:

[root_at_arrakis i386]#
[root_at_arrakis i386]# rpm -ivh curl-java-0.2.3.SVN-2.i386.rpm
Preparing... ###########################################
[100%]
   1:curl-java ###########################################
[100%]
[root_at_arrakis i386]#
[root_at_arrakis i386]#
[root_at_arrakis i386]# rpm -qa curl-java-0.2.3.SVN-2.i386
[root_at_arrakis i386]# jar -tf /usr/share/java/curljava.jar
META-INF/
META-INF/MANIFEST.MF
net/
net/haxx/
net/haxx/curl/
net/haxx/curl/CurlGlue.class
net/haxx/curl/CurlIO.class
net/haxx/curl/CurlRead.class
net/haxx/curl/CurlWrite.class

I'll play around with it later :)

-Thufir
Received on 2009-06-06