John E. Malmberg | 1 Jun 2009 04:47
Favicon

[patch] 7.19.5 docs/example patches for VMS.

These patches are needed to get these docs/examples modules to compile 
on VMS.

For anyauthput.c: <stdint.h> is not present on VMS.

For debug.c and multi-debugcallback.c:  VMS does not currently support 
%zd and %zx format qualifiers.

For multi-debugcallback.c, passing a char value to a routine prototyped 
for taking a unsigned char will cause a warning compiler diagnostic on 
the HP VMS C compilers.

For ftpupload.c: On 64 bit VMS, %lld needs to be used with 
CURL_SIZEOF_CURL_OFF_T is 8.

The %ld generates a compile time warning as the inline optimizer detects 
the mis-match that the size does not match.

I tried to use the CURL_FORMAT_OFF_T to build the format string.  This 
is where I discovered that the configure script did not detect the 
correct format string to use on VMS.  The configure script picked %I64d 
instead of %lld.

I do not know how to fix the configure script to get it right, nor could 
I find any place in curl where the CURL_FORMAT_OFF_T is actually used.

Regards,
-John
wb8tyw <at> qsl.net
Personal Opinion Only
(Continue reading)

Yang Tse | 1 Jun 2009 05:25
Picon

Re: patch 7.19.5 - remove VMS specific code from curl.h

2009/5/31, John E. Malmberg wrote:

> On VMS, sys/types.h and types.h are the same file.
>
> By default, the VMS C compiler ignores the "sys/" path.  This is the case
> for all platforms on VMS that curl is currently being built for.
>
> So there is no need for VMS specific code here.

Is this the same when using either the DECC or GNUC compiler or could
this behaviour depend on some compiler or system configuration
setting?

--

-- 
-=[Yang]=-

Yang Tse | 1 Jun 2009 05:42
Picon

Re: [curl 7.19.5] consfigure & struct timeval on VMS

2009/5/30, John E. Malmberg wrote:

> I am attempting to build curl 7.19.5 on VMS after successfully building
> 7.18.1 last year or so.

I suppose that you are aware of the VMS specific build scripts in the
curl/packages/vms subdirectory. Any chance you used these scripts last
time?

Did you really succeed in running the configure script as provided in
7.18.1? Or did you use some VMS special auto-tools and built the
configure script running buildconf?

> [...]
> From reading the archives of this list, I see that it is not recommended to
> define the macro _X_OPEN_SOURCE_EXTENDED.

If simply defining it when running configure allows it to finish with
no additional problem I don't see why it should be discouraged for
that specific configuration. At most the only implication would be
that you might also need to define it when compiling the program using
the library to get the same definitions from curl.h

--

-- 
-=[Yang]=-

John E. Malmberg | 1 Jun 2009 05:53
Favicon

Re: patch 7.19.5 - remove VMS specific code from curl.h

Yang Tse wrote:
> 2009/5/31, John E. Malmberg wrote:
> 
>> On VMS, sys/types.h and types.h are the same file.
>>
>> By default, the VMS C compiler ignores the "sys/" path.  This is the case
>> for all platforms on VMS that curl is currently being built for.
>>
>> So there is no need for VMS specific code here.
> 
> Is this the same when using either the DECC or GNUC compiler or could
> this behaviour depend on some compiler or system configuration
> setting?

The GNUC compiler does not seem to be actively used anymore on VMS.  The 
  HP C compilers are licensed for free non-commercial use, and there is 
a low cost licensing plan for commercial developers.

The header files are now supplied by the operating system in a text 
library independent of the compiler.

Regards,
-John
wb8tyw <at> qsl.net
Personal Opinion Only

John E. Malmberg | 1 Jun 2009 06:28
Favicon

Re: [curl 7.19.5] consfigure & struct timeval on VMS

Yang Tse wrote:
> 2009/5/30, John E. Malmberg wrote:
> 
>> I am attempting to build curl 7.19.5 on VMS after successfully building
>> 7.18.1 last year or so.
> 
> I suppose that you are aware of the VMS specific build scripts in the
> curl/packages/vms subdirectory. Any chance you used these scripts last
> time?

Yes I am aware of them, and no I did not use them.

I need a curl that is compatible with the GNV (GNU on VMS) system with a 
VMS shared image for libcurl.

Current versions of VMS ship with LDAP and Kerberos built in, and the 
VMS specific build scripts do not handle that.  Libz is available for 
the GNV environment as a shared image.

This is what I am building now.

EAGLE> bash
bash$ curl --version
curl 7.19.5 (alpha-dec-vms) libcurl/7.19.5 OpenSSL/0.9.7e zlib/1.2.3
Protocols: tftp ftp telnet dict ldap http file https ftps
Features: GSS-Negotiate IPv6 Largefile NTLM SSL libz

I have been in touch with Marty Kuhrt about some changes that are needed 
for those based on my building 7.18.1.  Apparently he has not had time 
to update those scripts.
(Continue reading)

Thufir | 1 Jun 2009 10:10
Picon

installing rpm for Java

Ok, after no small amount of effort I seem to have built and installed an 
rpm (with some help):

[root <at> arrakis i386]# 
[root <at> arrakis i386]# rpm -ihv curl-java-0.2.3-2.i386.rpm 
Preparing...                ########################################### 
[100%]
   1:curl-java              ########################################### 
[100%]
[root <at> arrakis i386]# 
[root <at> arrakis i386]# pwd
/home/makerpm/rpmbuild/RPMS/i386
[root <at> arrakis i386]# 
[root <at> arrakis i386]# whoami
root
[root <at> arrakis i386]# uname -r
2.6.27.24-170.2.68.fc10.i686
[root <at> arrakis i386]# 

can I get a JAR from this, or how do I import it?

thanks,

Thufir

Yang Tse | 1 Jun 2009 11:22
Picon

Re: patch 7.19.5 - remove VMS specific code from curl.h

2009/6/1, John E. Malmberg wrote:

> The header files are now supplied by the operating system in a text library
> independent of the compiler.

Thanks for the explanation and clean-up.

Committed to CVS.
--

-- 
-=[Yang]=-

Yang Tse | 1 Jun 2009 11:31
Picon

Re: [curl 7.19.5] consfigure & struct timeval on VMS

2009/6/1, John E. Malmberg wrote:

> I just was bringing this up in case someone was interested in making the
> configure scripts more robust.

We are always interested in improving everything. Simply wanted to
make sure we were speaking the same language.

I've just committed a change to CVS that should now allow proper
detection of the timeval struct on VMS even when
_XOPEN_SOURCE_EXTENDED is undefined.

Please verify if configure script from daily snapshot dated June 2 or
later actually solves this issue.

--

-- 
-=[Yang]=-

Daniel Stenberg | 1 Jun 2009 11:42
Picon
Favicon
Gravatar

Re: [PATCH] Add NSS libs directory to addlibs in configure

On Fri, 29 May 2009, Claes Jakobsson wrote:

> Attached patch adds the library search path (-L) for $NSS/lib when 
> specifying a custom path using --with-nss

Thanks, applied!

--

-- 

  / daniel.haxx.se

Daniel Stenberg | 1 Jun 2009 13:50
Picon
Favicon
Gravatar

Re: installing rpm for Java

On Mon, 1 Jun 2009, Thufir wrote:

> Ok, after no small amount of effort I seem to have built and installed an 
> rpm (with some help):

> [root <at> arrakis i386]# rpm -ihv curl-java-0.2.3-2.i386.rpm
>
> can I get a JAR from this, or how do I import it?

I thought you are the java guy here, so aren't you then going to tell US how 
to do that?

AFAIK, a jar is a bunch of java class files added up. I thought you'd put 
that inside that RPM...

--

-- 

  / daniel.haxx.se


Gmane