Re: [Oorexx-devel] Any progress on non-root perms an ooRexx 4.x?

2013-04-12 Thread Michael Lueck
Greetings David,

David Ashley wrote:
 Yes, it should work with the current stable source. Just remember that
 the prefix option goes on the ./configure command, not the make command.

Looking over the instructions, I copy/paste from them below... (compiling on a 
32-bit server)

% export CC=xlc_r
% export CXX=xlC_r
% export LDFLAGS=-Wl,-brtl -Wl,-bmaxdata:0x8000

% ./configure --disable-static
% make
% make install
% mkdir /var/run

To the ./configure LOC I will add the prefix.

What about the mkdir? Shall I mkdir within my prefix fakeroot then?

Sincerely,

-- 
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] Any progress on non-root perms an ooRexx 4.x?

2013-04-12 Thread David Ashley
Yes. Add --prefix=fakeroot to the configure command.

David Ashley

On Fri, 2013-04-12 at 06:47 -0400, Michael Lueck wrote:
 Greetings David,
 
 David Ashley wrote:
  Yes, it should work with the current stable source. Just remember that
  the prefix option goes on the ./configure command, not the make command.
 
 Looking over the instructions, I copy/paste from them below... (compiling on 
 a 32-bit server)
 
 % export CC=xlc_r
 % export CXX=xlC_r
 % export LDFLAGS=-Wl,-brtl -Wl,-bmaxdata:0x8000
 
 % ./configure --disable-static
 % make
 % make install
 % mkdir /var/run
 
 To the ./configure LOC I will add the prefix.
 
 What about the mkdir? Shall I mkdir within my prefix fakeroot then?
 
 Sincerely,
 



--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] Any progress on non-root perms an ooRexx 4.x?

2013-04-12 Thread Michael Lueck
Actually I was asking about this step...

David Ashley wrote:
 % mkdir /var/run


What about the mkdir? Shall I mkdir within my prefix fakeroot then?


-- 
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] Any progress on non-root perms an ooRexx 4.x?

2013-04-12 Thread Michael Lueck

I went ahead and tested the water of compiling on our present server. Last time 
I build ooRexx was for v3.2.

I get an error:


(uiserver):u40009095:~  cd ~/build/ooRexx-4.1.2
(uiserver):u40009095:~/build/ooRexx-4.1.2  export CC=xlc_r
(uiserver):u40009095:~/build/ooRexx-4.1.2  export CXX=xlC_r
(uiserver):u40009095:~/build/ooRexx-4.1.2  export LDFLAGS=-Wl,-brtl 
-Wl,-bmaxdata:0x8000
(uiserver):u40009095:~/build/ooRexx-4.1.2  ./configure --disable-static 
--prefix=/kunden/homepages/35/d157794216/htdocs/opt/oorexx
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... xlc_r
checking whether the C compiler works... no
configure: error: in 
`/kunden/homepages/35/d157794216/htdocs/build/ooRexx-4.1.2':
configure: error: C compiler cannot create executables
See `config.log' for more details


It looks like gcc is actually installed still.

(uiserver):u40009095:~  which gcc
/usr/bin/gcc
(uiserver):u40009095:~  which cpp
/usr/bin/cpp

The generated config.log is attached.

Suggestions? TIA!

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by oorexx configure 4.1.2, which was
generated by GNU Autoconf 2.68.  Invocation command line was

  $ ./configure --disable-static 
--prefix=/kunden/homepages/35/d157794216/htdocs/opt/oorexx

## - ##
## Platform. ##
## - ##

hostname = icpu2799
uname -m = i686
uname -r = 2.6.28.8-20120713a-iscsi-ntacker-3ware-sec8-fmon-igb-dif2-grsec
uname -s = Linux
uname -v = #1 SMP Fri Jul 13 13:37:07 CEST 2012

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch  = unknown
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo  = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /kunden/homepages/35/d157794216/htdocs/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /bin
PATH: /usr/local/msql/bin
PATH: /usr/games
PATH: .
PATH: /kunden/homepages/35/d157794216/htdocs/bin
PATH: /kunden/homepages/35/d157794216/htdocs/oorexx/bin
PATH: /kunden/homepages/35/d157794216/htdocs/drush


## --- ##
## Core tests. ##
## --- ##

configure:2381: checking build system type
configure:2395: result: i686-pc-linux-gnu
configure:2415: checking host system type
configure:2428: result: i686-pc-linux-gnu
configure:2448: checking target system type
configure:2461: result: i686-pc-linux-gnu
configure:2505: checking for a BSD-compatible install
configure:2573: result: /usr/bin/install -c
configure:2584: checking whether build environment is sane
configure:2634: result: yes
configure:2775: checking for a thread-safe mkdir -p
configure:2814: result: /bin/mkdir -p
configure:2827: checking for gawk
configure:2843: found /usr/bin/gawk
configure:2854: result: gawk
configure:2865: checking whether make sets $(MAKE)
configure:2887: result: yes
configure:3019: checking for gcc
configure:3046: result: xlc_r
configure:3275: checking for C compiler version
configure:3284: xlc_r --version 5
./configure: line 3286: xlc_r: command not found
configure:3295: $? = 127
configure:3284: xlc_r -v 5
./configure: line 3286: xlc_r: command not found
configure:3295: $? = 127
configure:3284: xlc_r -V 5
./configure: line 3286: xlc_r: command not found
configure:3295: $? = 127
configure:3284: xlc_r -qversion 5
./configure: line 3286: xlc_r: command not found
configure:3295: $? = 127
configure:3315: checking whether the C compiler works
configure:3337: xlc_r   -Wl,-brtl -Wl,-bmaxdata:0x8000 conftest.c  5
./configure: line 3339: xlc_r: command not found
configure:3341: $? = 127
configure:3379: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME oorexx
| #define PACKAGE_TARNAME oorexx
| #define PACKAGE_VERSION 4.1.2
| #define PACKAGE_STRING oorexx 4.1.2
| #define PACKAGE_BUGREPORT 
| #define PACKAGE_URL 
| #define PACKAGE ooRexx
| #define VERSION 4.1.2
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3384: error: in 
`/kunden/homepages/35/d157794216/htdocs/build/ooRexx-4.1.2':
configure:3386: error: C compiler cannot create executables
See `config.log' for more details

##  ##
## Cache variables. ##
##  ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=xlc_r
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=

Re: [Oorexx-devel] Any progress on non-root perms an ooRexx 4.x?

2013-04-12 Thread Mark Miesfeld
On Fri, Apr 12, 2013 at 8:13 PM, Michael Lueck
mlu...@lueckdatasystems.comwrote:

 I went ahead and tested the water of compiling on our present server. Last
 time I build ooRexx was for v3.2.

 I get an error:

  (uiserver):u40009095:~  cd ~/build/ooRexx-4.1.2
 (uiserver):u40009095:~/build/**ooRexx-4.1.2  export CC=xlc_r
 (uiserver):u40009095:~/build/**ooRexx-4.1.2  export CXX=xlC_r


Are you actually on an AIX machine?

...


 checking for gcc... xlc_r
 checking whether the C compiler works... no
 configure: error: in `/kunden/homepages/35/**d157794216/htdocs/build/**
 ooRexx-4.1.2':
 configure: error: C compiler cannot create executables
 See `config.log' for more details


 It looks like gcc is actually installed still.

 (uiserver):u40009095:~  which gcc
 /usr/bin/gcc



That shows that gcc is installed.  It says nothing about xlc_r


If you are on a Linux machine, why don't you just compile with gcc, or g++?
 We know that works.  Why throw xlc_r in the mix?

--
Mark Miesfeld
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] Any progress on non-root perms an ooRexx 4.x?

2013-04-12 Thread Michael Lueck
Greetings,

I found a work-around, as follows:

1) I logged back into SSH
2) I skipped these lines

Michael Lueck wrote:
 (uiserver):u40009095:~/build/ooRexx-4.1.2  export CC=xlc_r
 (uiserver):u40009095:~/build/ooRexx-4.1.2  export CXX=xlC_r
 (uiserver):u40009095:~/build/ooRexx-4.1.2  export LDFLAGS=-Wl,-brtl 
 -Wl,-bmaxdata:0x8000

And just ran these:

 (uiserver):u40009095:~  cd ~/build/ooRexx-4.1.2
 (uiserver):u40009095:~/build/ooRexx-4.1.2  ./configure --disable-static 
 --prefix=/kunden/homepages/35/d157794216/htdocs/opt/oorexx

And then make / make install

  ./rexx -v
Open Object Rexx Version 4.1.2
Build date: Apr 12 2013
Addressing Mode: 32

Copyright (c) IBM Corporation 1995, 2004.
Copyright (c) RexxLA 2005-2012.
All Rights Reserved.
This program and the accompanying materials are made available under
the terms of the Common Public License v1.0 which accompanies this
distribution or at
http://www.oorexx.org/license.html

Woo hoo!!! :-)

So, how bad is it that I did not do those three exports?

Sincerely,

-- 
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] Any progress on non-root perms an ooRexx 4.x?

2013-04-12 Thread Mark Miesfeld
On Fri, Apr 12, 2013 at 8:26 PM, Michael Lueck
mlu...@lueckdatasystems.comwrote:


 I found a work-around, as follows:

 1) I logged back into SSH
 2) I skipped these lines

 Michael Lueck wrote:
  (uiserver):u40009095:~/build/ooRexx-4.1.2  export CC=xlc_r
  (uiserver):u40009095:~/build/ooRexx-4.1.2  export CXX=xlC_r

 (uiserver):u40009095:~/build/ooRexx-4.1.2  export LDFLAGS=-Wl,-brtl
 -Wl,-bmaxdata:0x8000




 So, how bad is it that I did not do those three exports?



Michael,

I'm having a hard time following your thinking here.  ;-)

Those 3 exports obviously do not work.  How in the world could it be bad to
skip doing the wrong thing, in favor of doing the correct thing?

Why are you trying to compile with xlc_r to begin with?

--
Mark Miesfeld
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel