configure

Creating makefile

冷暖自知 提交于 2019-12-02 07:40:31
I am trying to create the makefiles and configure for my library which its directory structure is like following: $projectroot ├── lib ├── src └── test this library has 3 different parts (part1, part2 and part3) and it is a hierarchal library, that means part2 needs part1, part 3 needs part2 and part1: part1 ◁───┐ △ │ │ │ part2 │ △ │ │ │ │ │ part3 ┘ Now, I want to have 4 different targets, as you can see below: all: <MAKE ALL THE 3 PARTS> part1: <MAKE PART1> part2: <MAKE PART2> part3: <MAKE PART3> I have no problem with make (make all), but for example maybe someone wants only to install part2

Problems with PySide installation

天大地大妈咪最大 提交于 2019-12-02 04:55:59
问题 I have python2.7.9 on my new Xubuntu installation, albeit it's 14.04. PySide installation stuck with Shiboken Linking CXX shared library libshiboken-python2.7.so /usr/bin/ld: /usr/local/lib/libpython2.7.a(abstract.o): relocation R_X86_64_32S against `_Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libpython2.7.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status make[2]: *** [libshiboken/libshiboken-python2.7

Android How to add/configure Exchange setting programmatically?

无人久伴 提交于 2019-12-01 21:21:47
Is it me or I can't find any example of how to add/configure Microsoft Exchange programatically? It seems like AccountManager :: addAccount (String accountType, String authTokenType, String[] requiredFeatures, Bundle addAccountOptions, Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) should do the work. However, I can't figure out how for Microsoft Exchange account. Could you point me to a simple working example code? Thank you. Seems like it can't be done by applications. you'll get the following exception: ERROR/AndroidRuntime(442): Caused by: java.lang

zlib, harsh compiler warnings and configure test

◇◆丶佛笑我妖孽 提交于 2019-12-01 18:13:41
I'm trying to compile zlib from the command line, and I'm getting this message when using -Wall -Wextra -Wconversion (full cross-compile script is below): Compiler error reporting is too harsh for ./configure (perhaps remove -Werror ). Here's the configure test that's generating the line: cat > $test.c << EOF int foo() { return 0; } EOF echo "Checking for obsessive-compulsive compiler options..." >> configure.log if try $CC -c $CFLAGS $test.c; then : else echo "Compiler error reporting is too harsh for $0 (perhaps remove -Werror)." | tee -a configure.log leave 1 fi Its not clear to me what

zlib/bz2 library and headers are requried for compiling R

≡放荡痞女 提交于 2019-12-01 17:08:24
Trying to compile R-3.3.2 on Debian Jessie, all dependencies are installed. However the ./configure script complains about the zlib / bzip2 library versions not matching with the minimum requirement. Minimum version required: zlib : 1.2.6 (installed version: 1.2.11 ) bzip2 : 1.0.6 (installed version: 1.0.6 ) After looking at the parts of configure script checking the library versions, it seems that it compares versions with strcmp or strncmp . Since "1.2.11" is lexicographically smaller that "1.2.6" it return a non-zero value indicating that the match failed. Besides, it just compares the

zlib/bz2 library and headers are requried for compiling R

依然范特西╮ 提交于 2019-12-01 17:07:35
问题 Trying to compile R-3.3.2 on Debian Jessie, all dependencies are installed. However the ./configure script complains about the zlib / bzip2 library versions not matching with the minimum requirement. Minimum version required: zlib : 1.2.6 (installed version: 1.2.11 ) bzip2 : 1.0.6 (installed version: 1.0.6 ) 回答1: After looking at the parts of configure script checking the library versions, it seems that it compares versions with strcmp or strncmp . Since "1.2.11" is lexicographically smaller

ncurses not found when trying to build vim

梦想与她 提交于 2019-12-01 11:10:33
I am trying to build vim in my user dir after recently upgraded to Fedora 23 I have ncurses and ncurses-devel [root@statquant-laptop lib]# dnf install ncurses Last metadata expiration check performed 1:09:48 ago on Sat Jan 9 10:33:06 2016. Package ncurses-5.9-21.20150214.fc23.x86_64 is already installed, skipping. Dependencies resolved. Nothing to do. Complete! [root@statquant-laptop lib]# dnf install ncurses-devel Last metadata expiration check performed 1:09:58 ago on Sat Jan 9 10:33:06 2016. Package ncurses-devel-5.9-21.20150214.fc23.x86_64 is already installed, skipping. Dependencies

How to configure Outlook account via C#?

时光怂恿深爱的人放手 提交于 2019-12-01 07:35:30
Need to configure email, name, mail server and other by c#. How do I do this without using Outlook Redemption? First, create a PRF file - either manually or dynamically via your .NET application. Then, to import the account you launch Outlook with the command line option: outlook.exe /importprf C:\SomePath\FileName.prf This can be done within your C# code using the System.Diagnostics.Process class. 来源: https://stackoverflow.com/questions/11880930/how-to-configure-outlook-account-via-c

How to build library without sudo?

拟墨画扇 提交于 2019-12-01 06:41:05
I usually build my library ./configure && make && sudo make install . However the Travis docs discourage using sudo http://docs.travis-ci.com/user/workers/container-based-infrastructure/ So I changed the build command to ./configure --prefix=$HOME && make && make install . This worked, however at the next step (building a Python extension) I got an error /usr/bin/ld: cannot find -lprimesieve Any ideas? Do I need to add $HOME/lib to some environment variables, because I changed prefix? My travis config https://github.com/hickford/primesieve-python/blob/travis-ci/.travis.yml Build log with error

How to build library without sudo?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-01 05:22:35
问题 I usually build my library ./configure && make && sudo make install . However the Travis docs discourage using sudo http://docs.travis-ci.com/user/workers/container-based-infrastructure/ So I changed the build command to ./configure --prefix=$HOME && make && make install . This worked, however at the next step (building a Python extension) I got an error /usr/bin/ld: cannot find -lprimesieve Any ideas? Do I need to add $HOME/lib to some environment variables, because I changed prefix? My