compile problem poy_build2635

7 views
Skip to first unread message

danjanies

unread,
May 6, 2008, 2:02:27 PM5/6/08
to poy4
Hello
I am having a hard time compiling on some pretty standard hardware and
linux distro (details below).

I have tried several compile scripts - the config want works but then
the make fails with the error below



Cannot find file camlp4fulllib.cmxa
make[1]: *** [poy] Error 2
make[1]: Leaving directory `/home/danjanies/poy_build2635/src'
make: *** [all] Error 2

my config.log is here

bmi.osu.edu/~janies/config.log

Thanks!
Dan

----------------some system info here--------------------------------

processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 95
model name : AMD Sempron(tm) Processor 3200+
stepping : 2
cpu MHz : 1800.000
cache size : 128 KB
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext
fxsr_opt rdtscp lm 3dnowext 3dnow up pni cx16 lahf_lm extapic
cr8_legacy
bogomips : 3602.54
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc


Linux version 2.6.18-53.1.14.el5 (mock...@builder6.centos.org) (gcc
version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP Wed Mar 5 11:37:38
EST 2008

Andres Varon

unread,
May 8, 2008, 3:38:38 PM5/8/08
to poy4
Hello Dan,


On May 6, 2:02 pm, danjanies <danjan...@gmail.com> wrote:
> Hello
> I am having a hard time compiling on some pretty standard hardware and
> linux distro (details below).
>
> I have tried several compile scripts - the config want works but then
> the make fails with the error below
>
> Cannot find file camlp4fulllib.cmxa
> make[1]: *** [poy] Error 2
> make[1]: Leaving directory `/home/danjanies/poy_build2635/src'
> make: *** [all] Error 2
>

I'm quite sure that you have an incomplete OCaml installation. If you
compiled it yourself, make sure that you did:

make world
make opt
make opt.opt
make install

If you didn't, then it's your distro's fault. Some of them mess with
OCaml, Ubuntu has, for example, a pretty bad support for small (from
their point of view), projects like OCaml, and lags behind the
excellent support of Debian.

So you might have to just install OCaml yourself, then make clean, and
make again POY.

Andres
> Linux version 2.6.18-53.1.14.el5 (mockbu...@builder6.centos.org) (gcc
Reply all
Reply to author
Forward
0 new messages