Custom Query (122 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (19 - 21 of 122)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Ticket Resolution Summary Owner Reporter
#104 migrated make install fails with DESTDIR and pkg-config stefan mlubin
Description

To reproduce, building OSI, for example:

$ ./configure
$ make
$ mkdir installdir
$ make DESTDIR=`pwd`/installdir install
...
make  install-data-hook
make[4]: Entering directory `/home/mlubin/osi/Osi-0.106.1/CoinUtils'
PKG_CONFIG_PATH=/home/mlubin/osi/Osi-0.106.1/lib64/pkgconfig:/home/mlubin/osi/Osi-0.106.1/lib/pkgconfig:/home/mlubin/osi/Osi-0.106.1/share/pkgconfig:
\
    pkg-config --libs coinutils >
/home/mlubin/osi/Osi-0.106.1/installdir/home/mlubin/osi/Osi-0.106.1/share/coin/doc/CoinUtils/coinutils_addlibs.txt
Package coinutils was not found in the pkg-config search path.
Perhaps you should add the directory containing `coinutils.pc'
to the PKG_CONFIG_PATH environment variable
No package 'coinutils' found

I believe this can be fixed by changing the lines in Osi/Makefile.am from:

if COIN_HAS_PKGCONFIG
    PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ \
    $(PKG_CONFIG) --libs osi > $(addlibsdir)/osi_addlibs.txt
else

to

if COIN_HAS_PKGCONFIG
    PKG_CONFIG_PATH=$(DESTDIR)/$(pkgconfiglibdir) \
    $(PKG_CONFIG) --libs osi > $(addlibsdir)/osi_addlibs.txt
else

with similar changes in all coin projects.

#103 migrated mingw32 cross-compiling cbc fail int stefan ikus060
Description

I do have problem to cross-compile cbc for windows using mingw32 on debian wheezy. On a fresh install, I've proceed as follow:

sudo apt-get install subversion build-essential gcc-mingw-w64 mingw-w64 mingw32
svn co https://projects.coin-or.org/svn/Cbc/stable/2.8 coin-cbc-2.8
cd coin-cbc-2.8
./configure --host=i686-w64-mingw32
make

make failed with the following error:

CoinOslFactorization.cpp: In function 'void* clp_align(void*)':
CoinOslFactorization.cpp:901:5: error: 'int64_t' was not declared in this scope
CoinOslFactorization.cpp:901:15: error: expected ';' before 'k'
CoinOslFactorization.cpp:902:10: error: 'k' was not declared in this scope
CoinFinite.hpp: At global scope:
CoinFinite.hpp:18:14: warning: 'COIN_DBL_MAX' defined but not used [-Wunused-variable]
CoinFinite.hpp:20:14: warning: 'COIN_INT_MAX_AS_DOUBLE' defined but not used [-Wunused-variable]
make[3]: *** [CoinOslFactorization.lo] Error 1
make[3]: Leaving directory `/home/debian/coin-cbc-2.8/CoinUtils/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/debian/coin-cbc-2.8/CoinUtils/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/debian/coin-cbc-2.8/CoinUtils'
make: *** [all-recursive] Error 1

Attached is my config.log

#102 migrated abs_*_dir variables do assumptions on configure options stefan stefan
Description

The code

# Stuff for example Makefiles
if test x$prefix = xNONE; then
  full_prefix=$ac_default_prefix
else
  full_prefix=$prefix
fi
full_prefix=`cd $full_prefix ; pwd`
AC_SUBST(abs_lib_dir)
abs_lib_dir=$full_prefix/lib
AC_SUBST(abs_include_dir)
abs_include_dir=$full_prefix/include
AC_SUBST(abs_bin_dir)
abs_bin_dir=$full_prefix/bin

in the AC_COIN_INIT_AUTOMAKE macro in coin.m4 assume that the user did not specify own values for --exec-prefix, --libdir, and so on.

However, already some newer 64bit systems reset $libdir to $exec_prefix/lib64, see also #90.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Note: See TracQuery for help on using queries.