configure

./configure with a specified version of g++

Hello, How to tell to a 'configure' file to compile with a specified version of g++ ? Thanks. ...

What configuration should i use for compiling expat for MIPS running Debian Embbeded Linux

Hi, I trying to understand what flags should I use when running ./configure of expat. To compile for and embedded target running a debian based distribution on MIPS. For example: Do I have to tell it where the kernel source is? Do I have to give it the architecture I'm using? ... Thanks Schmil ...

How do you define the options you see in ./configure --help?

I'm currently trying to set up a package to be installed with autotools. In most, if not all, major software packages, configure --help lists a large number of options like ./configure --ENABLE-FLOAT, etc. I was wondering where I can define these options. Thanks, Sam ...

Preview man-page without installing package.

Hi I've checked out some typical open source project which is using auto-tools. I want to hack a bit on this package, but I would also like to change something in the man-page of the package. The man-page source is found project-name/doc/project-name.1. I just made a small change, and now I want to preview that change, without having t...

How to build mpich2 with sctp network module in linux?

Hello What configure options a should use to compile mpich2 (ver 1.1.1p1 or 1.2.1p1) with sctp ? In my try there is a error when linking cpi.c (small example). /home/op02/mpiopt/sctp/lib/libmpich.a(ch3u_rma_sync.o)(.text+0x20a7): In functio n `MPIDI_Win_post': : undefined reference to `PMPI_Group_translate_ranks' /home/op02/mpiopt/sc...

How to override environment variables when running configure?

In any major package for Linux, running ./configure --help will output at the end: Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a nonstandard directory <lib dir> CPPFLAGS ...

How do I stop Python install on Mac OS X from putting things in my home directory?

Hi, I'm trying to install Python from source on my Mac. (OS X 10.6.2, Python-2.6.5.tar.bz2) I've done this before and it was easy, but for some reason, this time after ./configure, and make, the sudo make install puts things some things in my home directory instead of in /usr/local/... where I expect. The .py files are okay, but not ...

Compile PHP Error with freetype

Hey Guys, I configured PHP myself, included all of the libraries I needed... but then realized I forgot the freetype library. So I went back to my php-5.3.2 directory and ran ./configure '--with-free-type=/usr/local/lib' PHP did the configure fine, no errors. But when I run make: collect2: ld returned 1 exit status make: *** [sapi/c...

C compiler cannot create executables when trying to build Binutils

I am trying to build Linux From Scratch, and now I am at chapter 5.4, which tells me how to build Binutils. I have binutils 2.20's source code, but when I try to build it: time { ./binutils-2.20/configure --target=$LFS_TGT --prefix=/tools --disable-nls --disable-werror ; } it gives me an error: checking build system type... i686-pc-l...

How to add a button on outlook toolbar to a custom form?

Hi I have an Outlook form that I'd like to provide ready access to by adding a button or link to it on the outlook toolbar. How can I customize the toolbar to do this? Essentially, a single click of the button on the toolbar should bring up the custom form. This should work in Outlook 2003 and 2007 (preferably). If it only works in 2...

gcc architecture question

Hi, I'm compiling my program with architecture set to -mtune=i386 However, I'm also linking statically against several libs (libpng, zlib, jpeglib, vorbisfile, libogg). I've built these libs on my own using configure and make, so I guess these libs were built with architecture being set to my system's architecture which would be i686...

How to print message(s) at the end of configure/make?

Hi, I'm trying to setup a software package with GNU autotools and would like for a message "Build successful!" to be outputted after a user has run make (after configure). How would I implement such a feature? Thanks ...

configure script question: Where are user-given arguments stored?

If you look in config.log for any software package that uses a configure script, you will find that configure conveniently saves what the user has passed to configure. Example: ./configure PREFIX=$HOME/tmp --enable-foo --enable-bar My question is where can I find what the user passed in so I can save it as a string? I've already checke...

trying to build Boost MPI, but the lib files are not created. What's going on?

I am trying to run a program with Boost MPI, but the thing is I don't have the .lib. So I try to create one by following the instruction at http://www.boost.org/doc/libs/1_43_0/doc/html/mpi/getting_started.html#mpi.config The instruction says "For many users using LAM/MPI, MPICH, or OpenMPI, configuration is almost automatic", I got my...

How to extract part of project based on GNU Build System?

When I move some subdirectory away from project managed by "./configure" and all that things, it tries to get to some "../../configure.ac" and other things and is not easily buildable. How to extract part of such project and make it independent? ...

How to print arguments passed to configure script?

Hi, I'm trying to print arguments passed to a ./configure script. Calling 'echo' on $BASH_ARGV will just print the last set of arguments. For example if I run: ./configure --enable-foo --enable-bar echo $BASH_ARGV will print only "--enable-bar" How do I print all the arguments? Thanks! ...

configure question: What would be the most appropriate place to install example programs for a library?

Hi, I'm currently writing a configure script for a library and would like to package it with some sample binaries to give examples on how to use it. Where would be the most appropriate location to install these binaries when a user runs "make install"? I ask what would be appropriate in terms of what would comply with GNU standards. Th...

Autotools: how to cleanup files created by "./configure" in lighttpd project?

Hi all, I'm starting to try out lighttpd for an embedded linux project. I got the curret source package and and started writing a master makefile ecapsulating all configer, compile, install (for testing) etc stuff. And vice-versa I want to cleanup every step. This cleanup should be 100%, i.e. there should be no generated files anymore a...

How to undo ./configure command

Hi, Is there a command that removes all the files created by the ./configure command of libxml2?? Thanks Samuel ...

Configure aptana 2.0.1 with zend framework 1.10.3 enable tooltip

I see in video tutorial there is or plugin or spesial setting for aptana studio.When whrite in studio pop up variaty functions and objects with description particularly with zend framework. How to set up a studio ?or what plugin use for this? ...