Re: [Rd] R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"

2016-02-19 Thread Michael Felt
Hi Simon, I have been busy with work, but I finally got around to repackaging libiconv for AIX - in a way that both adds GNU libiconv support (libiconv.so.2 member) and is both 32 and 64 bit without breaking support for IBM iconv applications. I concur that iconv is a pain as IBM and GNU

Re: [Rd] R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"

2016-01-04 Thread Michael Felt
On 04-Jan-16 15:52, Simon Urbanek wrote: On Jan 4, 2016, at 1:34 AM, Michael Felt wrote: I would be "pleased" if you would try packages - i.e., none of "Toolbox" or Perzl rpm's. R requires iconv, so you have to get that somehow. I tried to bypass the check and build

Re: [Rd] R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"

2016-01-04 Thread Michael Felt
The bulk is on my forums - the final post for today is: Results to date: A. It looks like I am going to need a newer compiler for C - xlc/xlC V11 apparently does not understand this code: "/data/prj/cran/R-3.2.3/src/main/memory.c", line 2149.31: 1506-046 (S) Syntax error. I will have to

Re: [Rd] R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"

2016-01-04 Thread Simon Urbanek
On Jan 4, 2016, at 1:34 AM, Michael Felt wrote: > I would be "pleased" if you would try packages - i.e., none of "Toolbox" or > Perzl rpm's. > R requires iconv, so you have to get that somehow. I tried to bypass the check and build it anyway against the system one, but

Re: [Rd] R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"

2016-01-03 Thread Simon Urbanek
Michael, I'm using xlc + xlf - the exact flags are configure CC=xlc_r CXX=xlc++_r F77=xlf_r FC=xlf95_r LIBS='-L/opt/freeware/lib /opt/freeware/lib/libiconv.a -lpthread' --prefix=/opt/freeware CPPFLAGS=-I/opt/freeware/include with export OBJECT_MODE=64 in the env (and libiconv from perzl.org

Re: [Rd] R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"

2016-01-03 Thread Michael Felt
I would be "pleased" if you would try packages - i.e., none of "Toolbox" or Perzl rpm's. The iconv I supply might not be working as is (I will need to install a new system to check). However, this is why I have been testing with R-3.2.3 - to side-step the system library dependencies. re: xz

Re: [Rd] R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"

2016-01-03 Thread Michael Felt
On 2016-01-01 23:48, peter dalgaard wrote: Nice catch you two!!! Happy New Year -pd I am much happier with this great start! Simon - which compiler)s) did you use: xlc and xlfortran, or gcc/gfortran? I have made some changes to configure(.ac) so maybe my problems are self-inflicted. But

Re: [Rd] R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"

2016-01-03 Thread Michael Felt
On 2016-01-03 16:59, Michael Felt wrote: On 2016-01-01 23:48, peter dalgaard wrote: Nice catch you two!!! Happy New Year -pd I am much happier with this great start! Simon - which compiler)s) did you use: xlc and xlfortran, or gcc/gfortran? I have made some changes to configure(.ac) so

Re: [Rd] R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"

2016-01-03 Thread Michael Felt
On 2016-01-03 17:28, Michael Felt wrote: On 2016-01-03 16:59, Michael Felt wrote: On 2016-01-01 23:48, peter dalgaard wrote: Nice catch you two!!! Happy New Year -pd I am much happier with this great start! Simon - which compiler)s) did you use: xlc and xlfortran, or gcc/gfortran? I have

Re: [Rd] R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"

2016-01-01 Thread peter dalgaard
Nice catch you two!!! Happy New Year -pd > On 01 Jan 2016, at 22:06 , Simon Urbanek wrote: > > Ok, found the problem - on platforms that support it TRE uses wint_t (from > wchar.h) as its type for characters (tre_cint_t) which on AIX is *signed* > int. TRE uses

Re: [Rd] R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"

2016-01-01 Thread Simon Urbanek
Ok, found the problem - on platforms that support it TRE uses wint_t (from wchar.h) as its type for characters (tre_cint_t) which on AIX is *signed* int. TRE uses liberally conversions between int and tre_cint_t apparently assuming that the latter is unsigned so conversions back to int are

Re: [Rd] R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"

2016-01-01 Thread Simon Urbanek
Michael, thanks, I'll have a look once my PDP VMs are up again (later today). This may be a signedness issue although it's unclear why other platforms wouldn't be affected. Cheers, Simon On Dec 31, 2015, at 10:14 AM, Michael Felt wrote: > On 2015-12-30 09:58, Michael

Re: [Rd] R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"

2015-12-31 Thread Michael Felt
On 2015-12-30 09:58, Michael Felt wrote: On 2015-12-29 11:02, Michael Felt wrote: This seems to be a problem that goes back a long time - and I hope someone who understands what tre is suppossed to be doing will look at this. A short history of other people who have reported on this on

Re: [Rd] R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"

2015-12-31 Thread Michael Felt
On 2015-12-31 16:14, Michael Felt wrote: - literal (&, M-^?) (38, 65535), pos 0, sub -1, 0 tags + literal (&, M-^?) (38, -1), pos 0, sub -1, 0 tags Getting down to these two lines - so I think it is now "before" root@x069:[/data/prj/cran/32/R-aix-3.2.3/src/library/tools]od

Re: [Rd] R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"

2015-12-31 Thread Michael Felt
On 2015-12-31 17:02, Michael Felt wrote: On 2015-12-31 16:14, Michael Felt wrote: - literal (&, M-^?) (38, 65535), pos 0, sub -1, 0 tags + literal (&, M-^?) (38, -1), pos 0, sub -1, 0 tags Getting down to these two lines - so I think it is now "before" Made a few changes - mainly in

Re: [Rd] R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"

2015-12-30 Thread Michael Felt
On 2015-12-29 11:02, Michael Felt wrote: This seems to be a problem that goes back a long time - and I hope someone who understands what tre is suppossed to be doing will look at this. A short history of other people who have reported on this on different versions of AIX. I shall only add