problems building for AIX without gcc

"herington, dean" <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <[email protected]>
In trying to build Hugs using
<http://cvs.haskell.org/Hugs/downloads/Nov2003/hugs98-Nov2003.tar.gz>
hugs98-Nov2003.tar.gz on an AIX machine without gcc, I get many errors.
I've attached a sample of some of them.  Any ideas?
 
Dean
 
 
% /bin/make
        cc -c -g  -O2 hugs.c
        cc -c -g  -O2 edit.c
        cc -c -g  -O2 observe.c
        cc -c -g  -O2 builtin.c
    1500-030: (I) INFORMATION: primSetPermissions: Additional optimization
may be attained by recompiling and specifying MAXMEM option with
a value greater than 2048.
        cc -c -g  compiler.c
        cc -c -g  -O2 errors.c
        cc -c -g  -O2 evaluator.c
        cc -c -g  -O2 ffi.c
    1500-030: (I) INFORMATION: foreignType: Additional optimization may be
attained by recompiling and specifying MAXMEM option with a value
 greater than 2048.
        cc -c -g  -O2 goal.c
        cc -c -g  -O2 input.c
    1500-030: (I) INFORMATION: readNumber: Additional optimization may be
attained by recompiling and specifying MAXMEM option with a value
greater than 2048.
        cc -c -g  -O2 machdep.c
        cc -c -g  -O2 machine.c
    1500-030: (I) INFORMATION: makeNumcase: Additional optimization may be
attained by recompiling and specifying MAXMEM option with a value
 greater than 2048.
        cc -c -g  module.c
        cc -c -g  -O2 opts.c
    1500-030: (I) INFORMATION: processOption: Additional optimization may be
attained by recompiling and specifying MAXMEM option with a val
ue greater than 2048.
        cc -c -g  -O2 output.c
        cc -c -g  -O2 plugin.c
        cc -c -g  -O2 script.c
        cc -c -g  static.c
        cc -c -g  -O2 storage.c
    1500-030: (I) INFORMATION: storage: Additional optimization may be
attained by recompiling and specifying MAXMEM option with a value gre
ater than 2048.
        cc -c -g  -O2 strutil.c
        cc -c -g  subst.c
        cc -c -g  type.c
        cc  hugs.o edit.o observe.o builtin.o compiler.o errors.o
evaluator.o  ffi.o goal.o input.o machdep.o machine.o  module.o opts.o out
put.o plugin.o script.o  static.o storage.o strutil.o subst.o  type.o
version.o  -lcurses -lm   -o hugs
        cc -c -g  -O2 runhugs.c
        cc -c -g  -O2 server.c
        cc  runhugs.o server.o builtin.o compiler.o errors.o evaluator.o
ffi.o goal.o input.o machdep.o machine.o  module.o opts.o output.o
 plugin.o script.o  static.o storage.o strutil.o subst.o  type.o version.o
-lcurses -lm   -o runhugs
        cc -c -g  -O2 -DFFI_COMPILER runhugs.c -o ffihugs.o
        cc  ffihugs.o server.o builtin.o compiler.o errors.o evaluator.o
ffi.o goal.o input.o machdep.o machine.o  module.o opts.o output.o
 plugin.o script.o  static.o storage.o strutil.o subst.o  type.o version.o
-lcurses -lm   -o ffihugs
        mkdir -p ../hugsdir/include
        /usr/bin/cp HsFFI.h config.h platform.h unix/MachDeps.h
unix/template-hsc.h ../hugsdir/include
        mkdir -p ../hugsdir/tools
        /usr/bin/cp ../tools/Package.hs ../tools/ParsePkgConf.hs
../tools/get_pkg_field ../hugsdir/tools
        mkdir -p ../hugsdir/libraries/Hugs
        /usr/bin/cp ../libraries/Hugs/*.* ../hugsdir/libraries/Hugs
        cd unix; ./convert_libraries /emc/dheringt/hugs98-Nov2003/fptools
../../hugsdir
Converting Control/Arrow
hugs-package[249]: gcc:  not found.

[many like the one above]
 
Converting System/Posix/Signals
"/emc/dheringt/hugs98-Nov2003/fptools/libraries/base/include/HsBase.h", line
210.33: 1506-277 (S) Syntax error: possible missing ';' or ','?
"/emc/dheringt/hugs98-Nov2003/fptools/libraries/base/include/HsBase.h", line
210.1: 1506-485 (S) Parameter declaration list is incompatible
with declarator for inline.
"/emc/dheringt/hugs98-Nov2003/fptools/libraries/base/include/HsBase.h", line
211.42: 1506-045 (S) Undeclared identifier m.
"/emc/dheringt/hugs98-Nov2003/fptools/libraries/base/include/HsBase.h", line
212.33: 1506-277 (S) Syntax error: possible missing ';' or ','?
"/emc/dheringt/hugs98-Nov2003/fptools/libraries/base/include/HsBase.h", line
212.1: 1506-485 (S) Parameter declaration list is incompatible
with declarator for inline.
"/emc/dheringt/hugs98-Nov2003/fptools/libraries/base/include/HsBase.h", line
214.33: 1506-277 (S) Syntax error: possible missing ';' or ','?
"/emc/dheringt/hugs98-Nov2003/fptools/libraries/base/include/HsBase.h", line
214.1: 1506-485 (S) Parameter declaration list is incompatible
with declarator for inline.
"/emc/dheringt/hugs98-Nov2003/fptools/libraries/base/include/HsBase.h", line
223.1: 1506-277 (S) Syntax error: possible missing ';' or ','?
"/emc/dheringt/hugs98-Nov2003/fptools/libraries/base/include/HsBase.h", line
221.1: 1506-485 (S) Parameter declaration list is incompatible
with declarator for inline.
"/emc/dheringt/hugs98-Nov2003/fptools/libraries/base/include/HsBase.h", line
227.21: 1506-045 (S) Undeclared identifier set.
"/emc/dheringt/hugs98-Nov2003/fptools/libraries/base/include/HsBase.h", line
231.1: 1506-277 (S) Syntax error: possible missing ';' or ','?
"/emc/dheringt/hugs98-Nov2003/fptools/libraries/base/include/HsBase.h", line
229.1: 1506-485 (S) Parameter declaration list is incompatible
with declarator for inline.
"/emc/dheringt/hugs98-Nov2003/fptools/libraries/base/include/HsBase.h", line
235.24: 1506-045 (S) Undeclared identifier s.
"/emc/dheringt/hugs98-Nov2003/fptools/libraries/base/include/HsBase.h", line
239.1: 1506-277 (S) Syntax error: possible missing ';' or ','?
"/emc/dheringt/hugs98-Nov2003/fptools/libraries/base/include/HsBase.h", line
237.1: 1506-485 (S) Parameter declaration list is incompatible
with declarator for inline.
"/emc/dheringt/hugs98-Nov2003/fptools/libraries/base/include/HsBase.h", line
244.17: 1506-045 (S) Undeclared identifier dst.
"/emc/dheringt/hugs98-Nov2003/fptools/libraries/base/include/HsBase.h", line
244.21: 1506-045 (S) Undeclared identifier dst_off.
"/emc/dheringt/hugs98-Nov2003/fptools/libraries/base/include/HsBase.h", line
244.30: 1506-045 (S) Undeclared identifier src.
"/emc/dheringt/hugs98-Nov2003/fptools/libraries/base/include/HsBase.h", line
244.35: 1506-045 (S) Undeclared identifier sz.
"/emc/dheringt/hugs98-Nov2003/fptools/libraries/base/include/HsBase.h", line
248.1: 1506-277 (S) Syntax error: possible missing ';' or ','?
"/emc/dheringt/hugs98-Nov2003/fptools/libraries/base/include/HsBase.h", line
246.1: 1506-485 (S) Parameter declaration list is incompatible
with declarator for inline.
"/emc/dheringt/hugs98-Nov2003/fptools/libraries/base/include/HsBase.h", line
262.1: 1506-277 (S) Syntax error: possible missing ';' or ','?
"/emc/dheringt/hugs98-Nov2003/fptools/libraries/base/include/HsBase.h", line
260.1: 1506-485 (S) Parameter declaration list is incompatible
with declarator for inline.
hugs-package[235]: ../../hugsdir/libraries/System/Posix/Signals_hsc_make:
not found.
rm: ../../hugsdir/libraries/System/Posix/Signals_hsc_make: A file or
directory in the path name does not exist.

[..]
 
Converting Text/Regex/Posix
"Posix.hsc", line 135.20: 1506-010 (W) Macro hsc_enum invoked with a null
argument for parameter f.

[..]
 
Converting Text/Show/Functions
hugs-package[249]: gcc:  not found.
hugs-package[289]: gcc:  not found.
runhugs: Error occurred
ERROR "../../hugsdir/libraries/Data/Dynamic.hs" - Module "Main" already
loaded
 

runhugs: Error occurred
ERROR "../../hugsdir/libraries/Data/Dynamic.hs" - Module "Main" already
loaded
 

runhugs: Error occurred
ERROR "../../hugsdir/libraries/Data/Dynamic.hs" - Module "Main" already
loaded
 

runhugs: Error occurred
ERROR "../../hugsdir/libraries/Data/Dynamic.hs" - Module "Main" already
loaded
 
[..]
 
Copy AnsiInteract.hs
Copy AnsiScreen.hs
Stub CVHAssert -> Hugs.CVHAssert
Stub GenericPrint -> Hugs.GenericPrint
Stub HugsInternals -> Hugs.Internals
Copy HugsLibs.hs
Stub IOExtensions -> Hugs.IOExts
Copy Interact.hs
Copy ListUtils.hs
Copy Number.hs
Copy ParseLib.hs
Stub Quote -> Hugs.Quote
Copy StdLibs.hs
Stub Trace -> Debug.Trace
Stub Trex -> Hugs.Trex
        env HUGSDIR='../hugsdir' HUGSFLAGS='' ./ffihugs +G
+L'../hugsdir/libraries/Hugs/Storable_aux.c' Hugs.Storable
runhugs: Error occurred
ERROR "../hugsdir/libraries/Data/Dynamic.hs" - Module "Main" already loaded
 

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

Stop.
%

_______________________________________________
Hugs-Bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/hugs-bugs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.