Ticket #21671 (closed defect: fixed)
advi build failure
| Reported by: | snc@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.99 |
| Keywords: | Cc: | Martin.Buchmann@… | |
| Port: | advi |
Description
Error: Files /opt/local/lib/ocaml/graphics.cmxa
and /opt/local/lib/ocaml/graphics.cmxa
both define a module named Graphics
make: *** [advi.bin] Error 2
Attachments
Change History
comment:1 Changed 4 years ago by david.ojeda@…
Just a workaround that might help. I just erased one "graphics.cmxa" from the command line that fails. Go to the compilation directory
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_advi/work/advi-1.6.0
And run the compilation line that failed before, without the extra "graphics.cmxa" (I did this as root)
ocamlopt.opt -warn-error A -inline 10000 -I /opt/local/lib/ocaml/camlimages events.o grwm.o grY11.o graphics.cmxa unix.cmxa str.cmxa ci_core.cmxa graphics.cmxa ci_graphics.cmxa ci_freetype.cmxa ci_gif.cmxa ci_jpeg.cmxa ci_tiff.cmxa ci_bmp.cmxa ci_ppm.cmxa ci_png.cmxa ci_xvthumb.cmxa ci_xpm.cmxa ci_ps.cmxa config.cmx misc.cmx timeout.cmx ageometry.cmx options.cmx rc.cmx userfile.cmx graphicsY11.cmx global_options.cmx busy.cmx gradient.cmx gterm.cmx launch.cmx dvicolor.cmx shot.cmx laser_pointer.cmx symbol.cmx input.cmx table.cmx pkfont.cmx ttfont.cmx jfm.cmx search.cmx font.cmx glyph.cmx devfont.cmx units.cmx dimension.cmx dvi.cmx drawimage.cmx gs.cmx transimpl.cmx embed.cmx grdev.cmx addons.cmx scratch.cmx cdvi.cmx driver.cmx thumbnails.cmx dviview.cmx main.cmx \
-cclib -lgraphics -cclib -lunix -cclib -lstr -cclib -L/opt/local/lib -cclib -lSM -cclib -lICE -cclib -lXinerama -cclib -lXext -cclib -lX11 -o advi.bin
Afterwards, try again the port command
sudo port install advi
Note: See
TracTickets for help on using
tickets.

