configure

Install TCL/TK without root

别来无恙 提交于 2020-07-09 08:44:38
问题 I'm trying to install TCL/TK as a regular user on RedHat 5: TCL_VERSION=8.6.1 BASE_PATH=/myownpath tar -xzf tcl${TCL_VERSION}-src.tar.gz cd tcl${TCL_VERSION}/unix ./configure \ --prefix=${BASE_PATH} \ --without-tzdata \ --enable-64bit make -j9 sed -e "s@^\(TCL_SRC_DIR='\).*@\1${BASE_PATH}'@" \ -e "/TCL_B/s@='\(-L\)\?.*unix@='\1${BASE_PATH}/lib@" \ -i tclConfig.sh make install make install-private-headers chmod -v 755 ${BASE_PATH}/lib/libtcl*.so So far so good: ${BASE_PATH}/include/tcl.h

Install TCL/TK without root

a 夏天 提交于 2020-07-09 08:44:20
问题 I'm trying to install TCL/TK as a regular user on RedHat 5: TCL_VERSION=8.6.1 BASE_PATH=/myownpath tar -xzf tcl${TCL_VERSION}-src.tar.gz cd tcl${TCL_VERSION}/unix ./configure \ --prefix=${BASE_PATH} \ --without-tzdata \ --enable-64bit make -j9 sed -e "s@^\(TCL_SRC_DIR='\).*@\1${BASE_PATH}'@" \ -e "/TCL_B/s@='\(-L\)\?.*unix@='\1${BASE_PATH}/lib@" \ -i tclConfig.sh make install make install-private-headers chmod -v 755 ${BASE_PATH}/lib/libtcl*.so So far so good: ${BASE_PATH}/include/tcl.h

How to test a C++ library usability in configure.in?

ⅰ亾dé卋堺 提交于 2020-06-27 06:56:14
问题 I'm working on a C++ project on GNU/Linux and I'm looking for a way to test the existence and usability of IBM Informix's library with the Autotools - namely, editing a configure.in . I don't have experience with Autotools, so basically I'm picking up from the project's configure.in et al. scripts and copying&changing where I feel needs to be changed. IOW, I've been adapting from the existing text in configure.in . So far I've been using successfully the AC_CHECK_LIB in configure.in to test

How to test a C++ library usability in configure.in?

浪子不回头ぞ 提交于 2020-06-27 06:55:38
问题 I'm working on a C++ project on GNU/Linux and I'm looking for a way to test the existence and usability of IBM Informix's library with the Autotools - namely, editing a configure.in . I don't have experience with Autotools, so basically I'm picking up from the project's configure.in et al. scripts and copying&changing where I feel needs to be changed. IOW, I've been adapting from the existing text in configure.in . So far I've been using successfully the AC_CHECK_LIB in configure.in to test

How can I disable logging from certain classes when using a common logger?

点点圈 提交于 2020-02-08 02:31:29
问题 I have created a common logger in the following manner in a root class that is referenced by many sub classes. public static final Logger LOGGER = Logger.getLogger(RootClass.class.getName()); Then I am accessing that logger in child classes in the following manner. private static final Logger LOGGER = RootClass.LOGGER; I have a main classes which receives inputs from users and it calls a method in the RootClass to configure the logger. logStatus = messageBus.configureLogPath(logPath,logLevel)

Cannot install pylearn2 to WinPython-64bit-3.4.4.1

你离开我真会死。 提交于 2020-01-25 03:01:31
问题 I am trying to install the pylearn2 package (http://deeplearning.net/software/pylearn2/). I do it in the Windows 7(x64) with the WinPython-64bit-3.4.4.1. First there is an error said that :"Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat)". Then I install the VS2012 and configure the environment variables. After I execute "python setup.py develop", there is a new error which is cited as followed: E:\WinPython-64bit-3.4.4.1\download\pylearn2>python setup.py develop WARNING

Compile gcc on amd64, for running on i686, and target is mips

孤者浪人 提交于 2020-01-17 00:46:29
问题 I want to compile gcc and binutils for MIPS target. I am working on 64-bit (amd64) machine. And want to obtain binary which is able to run on i686 (not amd64) arhitecture? How should I condigure and build gcc? If I am adding --host=i686-linux-gnu to ./configure script, then it complains on absence of i686-xxxx tools. If I am adding CFLAGS=-m32, then I can build binutils, but not gcc, because of following error: g++ -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti

Compile gcc on amd64, for running on i686, and target is mips

落爺英雄遲暮 提交于 2020-01-17 00:43:06
问题 I want to compile gcc and binutils for MIPS target. I am working on 64-bit (amd64) machine. And want to obtain binary which is able to run on i686 (not amd64) arhitecture? How should I condigure and build gcc? If I am adding --host=i686-linux-gnu to ./configure script, then it complains on absence of i686-xxxx tools. If I am adding CFLAGS=-m32, then I can build binutils, but not gcc, because of following error: g++ -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti

configure: error: leptonica library missing (when building tesseract-ocr-3.01 on MinGW)

丶灬走出姿态 提交于 2020-01-12 07:26:09
问题 When running configure it fails with checking for leptonica... yes checking for pixCreate in -llept... no configure: error: leptonica library missing But I have leptonica 1.69 built (downloaded source and ran ./configure && make install ) Edit I think configure: error: leptonica library missing is a bit misleading, please note that it first says checking for leptonica... yes , and then fails on checking for pixCreate in -llept... no . So maybe the problem is not that the library is missing,