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

build for 3.07 #8499

Closed
vicuna opened this issue Mar 3, 2004 · 3 comments
Closed

build for 3.07 #8499

vicuna opened this issue Mar 3, 2004 · 3 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Mar 3, 2004

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

Bug description

ummmmmm... standard configure and build on MacOSX 10.3.2, Devtools
XCode 1.1, (gcc 2.95.2) installed

complaints that symbols _gethostbyname_r and _gethostbyaddr_r not found
in system libraries:
no requirement for these re-entrants versions stated before build. :(

complaint that LabTk is not found - NO stated requirement for this
product ANYWHERE. :(

and then:

../../ocamlcomp.sh -c -warn-error A unix.mli
../../ocamlcomp.sh -c -warn-error A -nolabels unix.ml
../../ocamlcomp.sh -c -warn-error A unixLabels.mli
../../ocamlcomp.sh -c -warn-error A -nolabels unixLabels.ml
../../boot/ocamlrun ../../tools/ocamlmklib -o unix -ocamlc
'../../ocamlcomp.sh' -linkall unix.cmo unixLabels.cmo
gcc -O -I../../byterun -fno-defer-pop -no-cpp-precomp -Wall -Wno-unused
-D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o strstubs.o strstubs.c
../../boot/ocamlrun ../../tools/ocamlmklib -o str strstubs.o
/usr/bin/ld: -undefined: unknown argument: -lbundle1.o
make[1]: *** [libstr.a] Error 2
make: *** [otherlibraries] Error 2

@vicuna
Copy link
Author

vicuna commented Apr 14, 2004

Comment author: administrator

ummmmmm... standard configure and build on MacOSX 10.3.2, Devtools
XCode 1.1, (gcc 2.95.2) installed

How did you get gcc 2.95.2 installed under the name "gcc" ? The default
gcc installed by XCode 1.1 is version 3.3.

complaints that symbols _gethostbyname_r and _gethostbyaddr_r not found
in system libraries:
no requirement for these re-entrants versions stated before build. :(

That's because they are not required.

complaint that LabTk is not found - NO stated requirement for this
product ANYWHERE. :(

Again, it is not required. The role of the configure script is to look around
your
machine and find out what you have installed, in order to configure (or not)
the
optional parts of OCaml. All its messages are informative, not error messages.

gcc -O -I../../byterun -fno-defer-pop -no-cpp-precomp -Wall -Wno-unused
-D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o strstubs.o strstubs.c
../../boot/ocamlrun ../../tools/ocamlmklib -o str strstubs.o
/usr/bin/ld: -undefined: unknown argument: -lbundle1.o
make[1]: *** [libstr.a] Error 2
make: *** [otherlibraries] Error 2

I've tried on 10.3.2 with XCode 1.1, with both gcc 2.95.2 and gcc 3.3, and I
cannot reproduce this problem. You should send me the complete output of
the "./configure" and "make world" commands, as well as all the command-line
options you have given to configure.

-- Damien

@vicuna
Copy link
Author

vicuna commented Apr 14, 2004

Comment author: administrator

and, in fact, as soon as I got gcc3.3 properly installed - it all built
and worked perfectly :o)

tech response here: doh!

S xx

On 14 Apr 2004, at 16:20, Damien Doligez wrote:

ummmmmm... standard configure and build on MacOSX 10.3.2, Devtools
XCode 1.1, (gcc 2.95.2) installed

How did you get gcc 2.95.2 installed under the name "gcc" ? The
default
gcc installed by XCode 1.1 is version 3.3.

complaints that symbols _gethostbyname_r and _gethostbyaddr_r not
found
in system libraries:
no requirement for these re-entrants versions stated before build. :(

That's because they are not required.

complaint that LabTk is not found - NO stated requirement for this
product ANYWHERE. :(

Again, it is not required. The role of the configure script is to
look around
your
machine and find out what you have installed, in order to configure
(or not)
the
optional parts of OCaml. All its messages are informative, not error
messages.

gcc -O -I../../byterun -fno-defer-pop -no-cpp-precomp -Wall
-Wno-unused
-D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o strstubs.o strstubs.c
../../boot/ocamlrun ../../tools/ocamlmklib -o str strstubs.o
/usr/bin/ld: -undefined: unknown argument: -lbundle1.o
make[1]: *** [libstr.a] Error 2
make: *** [otherlibraries] Error 2

I've tried on 10.3.2 with XCode 1.1, with both gcc 2.95.2 and gcc 3.3,
and I
cannot reproduce this problem. You should send me the complete output
of
the "./configure" and "make world" commands, as well as all the
command-line
options you have given to configure.

-- Damien

@vicuna
Copy link
Author

vicuna commented Apr 15, 2004

Comment author: administrator

Not an ocaml bug. DD 2004-04-15

@vicuna vicuna closed this as completed Apr 15, 2004
@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