Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make world fails on IBM pSeries AIX 5.2 #3057

Closed
vicuna opened this issue Aug 11, 2004 · 4 comments
Closed

make world fails on IBM pSeries AIX 5.2 #3057

vicuna opened this issue Aug 11, 2004 · 4 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Aug 11, 2004

Original bug ID: 3057
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Hi,

    I get the following errors when I do the "make world" on AIX 5.2. 

Any help will be greatly appreciated.

make world
cd byterun; make all
sed -n -e '/^ /s/ ([A-Z])/ &&lbl_\1/gp' -e '/^}/q'
instruct.h > jumptbl.h
c89 -DCAML_NAME_SPACE -O -D_FILE_OFFSET_BITS=64 -c interp.c
1506-507 (W) No licenses available. Contact your program supplier to add
additional users. Compilation will proceed shortly.
"config.h", line 52.22: 1506-294 (S) Syntax error in expression on #if
directive.
"fail.h", line 45.3: 1506-046 (S) Syntax error.
"fail.h", line 46.1: 1506-278 (S) The structure definition must specify a
member list.
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 2.

Stop.

Thanks,

Chris Narcouzi




                Hi,

        I get the following errors when I do the "make world" on AIX 5.2.  Any help will be greatly appreciated.


make world
        cd byterun; make all
        sed -n -e '/^  /s/ \([A-Z]\)/ \&\&lbl_\1/gp'  -e '/^}/q' instruct.h > jumptbl.h
        c89 -DCAML_NAME_SPACE -O -D_FILE_OFFSET_BITS=64 -c interp.c
1506-507 (W) No licenses available. Contact your program supplier to add additional users. Compilation will proceed shortly.
"config.h", line 52.22: 1506-294 (S) Syntax error in expression on #if directive.
"fail.h", line 45.3: 1506-046 (S) Syntax error.
"fail.h", line 46.1: 1506-278 (S) The structure definition must specify a member list.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.




Thanks,


Chris Narcouzi ---------------- ----------------
@vicuna
Copy link
Author

vicuna commented Aug 12, 2004

Comment author: administrator

    I get the following errors when I do the "make world" on AIX 5.2. 

Any help will be greatly appreciated.
make world
cd byterun; make all
sed -n -e '/^ /s/ ([A-Z])/ &&lbl_\1/gp' -e '/^}/q'
instruct.h > jumptbl.h
c89 -DCAML_NAME_SPACE -O -D_FILE_OFFSET_BITS=64 -c interp.c
1506-507 (W) No licenses available. Contact your program supplier to add
additional users. Compilation will proceed shortly.
"config.h", line 52.22: 1506-294 (S) Syntax error in expression on #if
directive.

The C compiler you're using is not ANSI C compliant. I very strongly
recommend using the GNU gcc compiler instead.

It might help to apply the patch below to the "configure" file and
re-run "configure". The options selected for AIX 4.3 would probably
be helpful with 5.2 as well.

As a final note, AIX is a fairly hostile environment for compilation
of portable Unix sources -- so much so that we have stopped supporting
AIX for the native-code OCaml compiler. If you can get the bytecode
compiler to build on AIX, that's great and I'm interested in your
feedback if any. But if it doesn't work, we won't be able to help.

  • Xavier Leroy

*** configure 30 Jul 2004 07:46:29 -0000 1.215.2.5
--- configure 12 Aug 2004 12:40:00 -0000


*** 284,293 ****
,alpha--unicos)
# For the Cray T3E
bytecccompopts="-DUMK";;
! gcc*,powerpc--aix4.3)
# Avoid name-space pollution by requiring Unix98-conformant includes
bytecccompopts="-fno-defer-pop $gcc_warnings -D_XOPEN_SOURCE=500";;
! ,powerpc--aix4.3*)
bytecccompopts="-D_XOPEN_SOURCE=500";;
gcc*,--cygwin*)
bytecccompopts="-fno-defer-pop $gcc_warnings -U_WIN32"
--- 284,293 ----
,alpha--unicos)
# For the Cray T3E
bytecccompopts="-DUMK";;
! gcc*,powerpc--aix)
# Avoid name-space pollution by requiring Unix98-conformant includes
bytecccompopts="-fno-defer-pop $gcc_warnings -D_XOPEN_SOURCE=500";;
! ,powerpc--aix*)
bytecccompopts="-D_XOPEN_SOURCE=500";;
gcc*,--cygwin*)
bytecccompopts="-fno-defer-pop $gcc_warnings -U_WIN32"

@vicuna
Copy link
Author

vicuna commented Aug 13, 2004

Comment author: administrator

            Thanks so much for getting back to me.  The patch below 

got me a log way. The "make world" command has gone a long way as a
result. I am getting the following error:
Configuring LablTk...
tcl.h not found.
Configuration failed, LablTk will not be built.

I'm not familiar with the configuration process for LablTk, but maybe
Jacques could provide some hints.

Hoever, note that OCaml will compile fine even if the TCL/TK libraries
are not found. (In other terms, the message above is not a fatal
error.) The LablTK library will not be available then, but perhaps
the OCaml applications you're interested in do not use it.

Best wishes,

  • Xavier Leroy

@vicuna
Copy link
Author

vicuna commented Aug 13, 2004

Comment author: administrator

Non-ANSI C compiler

@vicuna vicuna closed this as completed Aug 13, 2004
@vicuna
Copy link
Author

vicuna commented Aug 14, 2004

Comment author: administrator

From: Xavier.Leroy@inria.fr
Subject: Re: make world fails on IBM pSeries AIX 5.2 (#3057)
Date: Fri, 13 Aug 2004 17:15:51 +0200 (MET DST)

            Thanks so much for getting back to me.  The patch below 

got me a log way. The "make world" command has gone a long way as a
result. I am getting the following error:
Configuring LablTk...
tcl.h not found.
Configuration failed, LablTk will not be built.

I'm not familiar with the configuration process for LablTk, but maybe
Jacques could provide some hints.

This just means that no file tcl.h was found in any of the directories
tried after line 1310 of configure.
If you don't have Tcl/Tk, this will certainly happen :-)
But it may also be the case that your tcl.h is installed somewhere
else, in which case you need to use the -tkdefs option.

Releases of Tcl/Tk from 8.0 to 8.4 are supported.

Hope this helps,

Jacques Garrigue

@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant