COIN-OR::LEMON - Graph Library

Opened 15 years ago

Closed 15 years ago

#308 closed defect (fixed)

make install doesn't work

Reported by: Alpar Juttner Owned by: Akos Ladanyi
Priority: blocker Milestone: LEMON 1.2 release
Component: build system Version: hg main
Keywords: Cc:
Revision id: ed54c0d13df0

Description

make install does not work on my system (openSuse 11.1, autoconf 2.63, automake 1.11) since revision [ed54c0d13df0]. See the output of config and make below.

$ autoreconf -vif
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: creating directory build-aux
autoreconf: running: libtoolize --copy --force
Putting files in AC_CONFIG_AUX_DIR, `build-aux'.
/home/alpar/projects/LEMON/hg/installbug/build-aux
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:18: installing `build-aux/install-sh'
configure.ac:18: installing `build-aux/missing'
Makefile.am: installing `build-aux/depcomp'
autoreconf: Leaving directory `.'
$ ./configure --prefix=/home/alpar/projects/LEMON/local
[...]
****************************** SUMMARY ******************************

Package version............... : lemon-269.ed54c0d13df0

C++ compiler.................. : g++
C++ compiles flags............ : -Wall -W -Wall -W -Wunused -Wformat=2 -Wctor-dtor-privacy -Wnon-virtual-dtor -Wno-char-subscripts -Wwrite-strings -Wno-char-subscripts -Wreturn-type -Wcast-qual -Wcast-align -Wsign-promo -Woverloaded-virtual -ansi -fno-strict-aliasing -Wold-style-cast -Wno-unknown-pragmas -g -O2

GLPK support.................. : no
CPLEX support................. : no
SOPLEX support................ : no
CLP support................... : no

Build demo programs........... : no
Build additional tools........ : yes

The packace will be installed in
  /home/alpar/projects/LEMON/local.

*********************************************************************

Configure complete, now type 'make' and then 'make install'.

$ make
[...]
$ make install
make[1]: Entering directory `/home/alpar/projects/LEMON/hg/installbug'
test -z "/home/alpar/projects/LEMON/local/lib" || /bin/mkdir -p "/home/alpar/projects/LEMON/local/lib"
test -z "/home/alpar/projects/LEMON/local/bin" || /bin/mkdir -p "/home/alpar/projects/LEMON/local/bin"
 /bin/sh ./libtool   --mode=install /usr/bin/install -c   lemon/libemon.la '/home/alpar/projects/LEMON/local/lib'
 /usr/bin/install -c tools/lemon-0.x-to-1.x.sh '/home/alpar/projects/LEMON/local/bin'
test -z "/home/alpar/projects/LEMON/local/include/lemon/bits" || /bin/mkdir -p "/home/alpar/projects/LEMON/local/include/lemon/bits"
 /usr/bin/install -c -m 644 lemon/bits/alteration_notifier.h lemon/bits/array_map.h lemon/bits/base_extender.h lemon/bits/bezier.h lemon/bits/default_map.h lemon/bits/enable_if.h lemon/bits/graph_adaptor_extender.h lemon/bits/graph_extender.h lemon/bits/map_extender.h lemon/bits/path_dump.h lemon/bits/solver_bits.h lemon/bits/traits.h lemon/bits/variant.h lemon/bits/vector_map.h '/home/alpar/projects/LEMON/local/include/lemon/bits'
test -z "/home/alpar/projects/LEMON/local/include/lemon/concepts" || /bin/mkdir -p "/home/alpar/projects/LEMON/local/include/lemon/concepts"
/usr/bin/install -c lemon/.libs/libemon.lai /home/alpar/projects/LEMON/local/lib/libemon.la
/usr/bin/install -c lemon/.libs/libemon.a /home/alpar/projects/LEMON/local/lib/libemon.a
chmod 644 /home/alpar/projects/LEMON/local/lib/libemon.a
 /usr/bin/install -c -m 644 lemon/concepts/digraph.h lemon/concepts/graph.h lemon/concepts/graph_components.h lemon/concepts/heap.h lemon/concepts/maps.h lemon/concepts/path.h '/home/alpar/projects/LEMON/local/include/lemon/concepts'
ranlib /home/alpar/projects/LEMON/local/lib/libemon.a
test -z "/home/alpar/projects/LEMON/local/include/lemon" || /bin/mkdir -p "/home/alpar/projects/LEMON/local/include/lemon"
 /usr/bin/install -c -m 644 lemon/adaptors.h lemon/arg_parser.h lemon/assert.h lemon/bfs.h lemon/bin_heap.h lemon/circulation.h lemon/color.h lemon/concept_check.h lemon/counter.h lemon/core.h lemon/dfs.h lemon/dijkstra.h lemon/dim2.h lemon/dimacs.h lemon/elevator.h lemon/error.h lemon/full_graph.h lemon/graph_to_eps.h lemon/grid_graph.h lemon/hypercube_graph.h lemon/kruskal.h lemon/hao_orlin.h lemon/lgf_reader.h lemon/lgf_writer.h lemon/list_graph.h lemon/lp.h lemon/lp_base.h lemon/lp_clp.h lemon/lp_cplex.h lemon/lp_glpk.h lemon/lp_skeleton.h lemon/lp_soplex.h lemon/list_graph.h lemon/maps.h lemon/math.h lemon/max_matching.h lemon/nauty_reader.h lemon/path.h lemon/preflow.h lemon/radix_sort.h '/home/alpar/projects/LEMON/local/include/lemon'
/usr/bin/install: will not overwrite just-created `/home/alpar/projects/LEMON/local/include/lemon/list_graph.h' with `lemon/list_graph.h'
make[1]: *** [install-lemonHEADERS] Error 1
make[1]: *** Waiting for unfinished jobs....
PATH="$PATH:/sbin" ldconfig -n /home/alpar/projects/LEMON/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /home/alpar/projects/LEMON/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[1]: Leaving directory `/home/alpar/projects/LEMON/hg/installbug'
make: *** [install-am] Error 2
alpar@piko:~/projects/LEMON/hg/installbug>

Attachments (2)

767ef62d3b6e-no-dupes.patch (1.8 KB) - added by Akos Ladanyi 15 years ago.
767ef62d3b6e
17cabb114d52.patch (515 bytes) - added by Akos Ladanyi 15 years ago.
17cabb114d52

Download all attachments as: .zip

Change History (7)

Changed 15 years ago by Akos Ladanyi

Attachment: 767ef62d3b6e-no-dupes.patch added

comment:1 Changed 15 years ago by Akos Ladanyi

Status: newassigned

Please test the attached patch.

comment:2 in reply to:  1 ; Changed 15 years ago by Alpar Juttner

Replying to ladanyi:

Please test the attached patch.

Could you please rebase this patch on the top of [ed54c0d13df0].

Changed 15 years ago by Akos Ladanyi

Attachment: 17cabb114d52.patch added

comment:3 in reply to:  2 Changed 15 years ago by Akos Ladanyi

Replying to alpar:

Could you please rebase this patch on the top of [ed54c0d13df0].

Done. The new patch just removes the duplicate list_graph.h entry and does not reorder the sources.

comment:4 Changed 15 years ago by Peter Kovacs

[17cabb114d52] went to both branches. Could we close this ticket?

comment:5 in reply to:  4 Changed 15 years ago by Alpar Juttner

Resolution: fixed
Status: assignedclosed

Replying to kpeter:

[17cabb114d52] went to both branches. Could we close this ticket?

Yes.

Note: See TracTickets for help on using tickets.