[courier-users] Rebuilding courier-authlib with libmysqld-dev and libmysqlcppcon-dev Now Results in an Error
When I now rebuild the courier-authlib library, per Sam's instructions in the last message he sent, I am now getting an error which I can't figure out: ./configure: Error: Cannot link with . Attached is the output of my ./configure command. Tyler checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gawk... (cached) gawk checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking for perl5... no checking for perl... /usr/local/bin/perl checking for sysconftool.. ././sysconftool configure: error: cannot run /bin/sh ./config.sub hether build environment is sane configure:2619: result: yes configure:2760: checking for a thread-safe mkdir -p configure:2799: result: /bin/mkdir -p configure:2812: checking for gawk configure:2828: found /usr/bin/gawk configure:2839: result: gawk configure:2850: checking whether make sets $(MAKE) configure:2872: result: yes configure:2960: checking for gawk configure:2987: result: gawk configure:3046: checking for gcc configure:3062: found /usr/bin/gcc configure:3073: result: gcc configure:3302: checking for C compiler version configure:3311: gcc --version 5 gcc (Debian 4.4.5-8) 4.4.5 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3322: $? = 0 configure:3311: gcc -v 5 Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.5-8' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.4.5 (Debian 4.4.5-8) configure:3322: $? = 0 configure:3311: gcc -V 5 gcc: '-V' option must have argument configure:3322: $? = 1 configure:3311: gcc -qversion 5 gcc: unrecognized option '-qversion' gcc: no input files configure:3322: $? = 1 configure:3342: checking whether the C compiler works configure:3364: gccconftest.c 5 configure:3368: $? = 0 configure:3416: result: yes configure:3419: checking for C compiler default output file name configure:3421: result: a.out configure:3427: checking for suffix of executables configure:3434: gcc -o conftestconftest.c 5 configure:3438: $? = 0 configure:3460: result: configure:3482: checking whether we are cross compiling configure:3490: gcc -o conftestconftest.c 5 configure:3494: $? = 0 configure:3501: ./conftest configure:3505: $? = 0 configure:3520: result: no configure:3525: checking for suffix of object files configure:3547: gcc -c conftest.c 5 configure:3551: $? = 0 configure:3572: result: o configure:3576: checking whether we are using the GNU C compiler configure:3595: gcc -c conftest.c 5 configure:3595: $? = 0 configure:3604: result: yes configure:3613: checking whether gcc accepts -g configure:3633: gcc -c -g conftest.c 5 configure:3633: $? = 0 configure:3674: result: yes configure:3691: checking for gcc option to accept ISO C89 configure:3755: gcc -c -g -O2 conftest.c 5 configure:3755: $? = 0 configure:3768: result: none needed configure:3799: checking for style of include used by make configure:3827: result: GNU configure:3853: checking dependency style of gcc configure:3964: result: gcc3 configure:3984: checking how to run the C preprocessor configure:4015: gcc -E conftest.c configure:4015: $? = 0 configure:4029: gcc -E conftest.c conftest.c:2:28: error: ac_nonexistent.h: No such file or directory configure:4029: $? = 1 configure: failed program was: | /* end confdefs.h. */ | #include ac_nonexistent.h configure:4054: result: gcc -E configure:4074: gcc -E conftest.c configure:4074: $? = 0 configure:4088: gcc -E conftest.c conftest.c:2:28: error: ac_nonexistent.h: No such file or directory configure:4088: $? = 1 configure: failed
Re: [courier-users] Rebuilding courier-authlib with libmysqld-dev and libmysqlcppcon-dev Now Results in an Error
Tyler Kavanaugh writes: When I now rebuild the courier-authlib library, per Sam's instructions in the last message he sent, I am now getting an error which I can't figure out: ./configure: Error: Cannot link with . Attached is the output of my ./configure command. Something's wrong with your build environment: configure: error: cannot run /bin/sh ./config.sub You need to figure out why you are getting this error. config.sub is a script that you should've extracted from the tarball, and into the current directory together with the rest of the source code. It's very unlikely that you do not have /bin/sh, so the problem must lie elsewhere. pgppToTrkFqd9.pgp Description: PGP signature -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Rebuilding courier-authlib with libmysqld-dev and libmysqlcppcon-dev Now Results in an Error
On 16/02/13 09:07, Sam Varshavchik wrote: configure: error: cannot run /bin/sh ./config.sub ... It's very unlikely that you do not have /bin/sh, so the problem must lie elsewhere. If the server is Ubuntu based and ./config.sub requires bash then it's likely the default shell is still dash. To change that use... dpkg-reconfigure dash -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Re: [courier-users] Rebuilding courier-authlib with libmysqld-dev and libmysqlcppcon-dev Now Results in an Error
Mark Constable writes: On 16/02/13 09:07, Sam Varshavchik wrote: configure: error: cannot run /bin/sh ./config.sub ... It's very unlikely that you do not have /bin/sh, so the problem must lie elsewhere. If the server is Ubuntu based and ./config.sub requires bash then it's likely the default shell is still dash. To change that use... That shouldn't really matter. Whether it's dash or bash, something should still be there that answers to /bin/sh. If /bin/sh does not exist at all, as that error indicates, a lot of stuff would break. pgpynW_yDi_b6.pgp Description: PGP signature -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/___ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users