Apache .htaccess integration with CommandBox - commandbox

I am using the latest version of CommandBox and I'm getting errors when I include my existing .htaccess file in server.json located in the webroot of my site. My .htaccess file is also located in the webroot.
I have tried including the .htaccess in the server.json file. It's being included Ok however when I output server log I am seeing errors and after reading the documentation I can't see any reference to including these modules.
Here is the output of the server log command issued from within CommandBox
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: Include licenses.conf
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: Options All -StopOnError
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule authz_host_module modules/mod_authz_host.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule auth_basic_module modules/mod_auth_basic.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule auth_digest_module modules/mod_auth_digest.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule authn_dbd_module modules/mod_authn_dbd.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule authn_file_module modules/mod_authn_file.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule authn_anon_module modules/mod_authn_anon.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule authn_default_module modules/mod_authn_default.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule authz_user_module modules/mod_authz_user.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule authz_default_module modules/mod_authz_default.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule asis_module modules/mod_asis.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule cache_module modules/mod_cache.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule dbd_module modules/mod_dbd.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule dbd_exec_module modules/mod_dbd_exec.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule deflate_module modules/mod_deflate.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule dir_module modules/mod_dir.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule disk_cache_module modules/mod_mem_cache.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule developer_module modules/mod_developer.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule env_module modules/mod_env.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule expires_module modules/mod_expires.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule filter_module modules/mod_filter.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule gzip_module modules/mod_gzip.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule headers_module modules/mod_headers.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule hotlink_module modules/mod_hotlink.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule linkfreeze_module modules/mod_linkfreeze.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule log_config_module modules/mod_log_config.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule logio_module modules/mod_logio.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule mem_cache_module modules/mod_mem_cache.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule mime_module modules/mod_mime.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule proxy_module modules/mod_proxy.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule rewrite_module modules/mod_rewrite.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule replace_module modules/mod_replace.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule usertrack_module modules/mod_usertrack.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule setenvif_module modules/mod_setenvif.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule speling_module modules/mod_speling.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule seo_module modules/mod_seo.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LoadModule xsendfile_module modules/mod_xsendfile.so
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: LogLevel debug
I believe the rewrites in the .htaccess will work ok with the Tuckey rewritefilter, however I'm not sure why these errors are occurring and after it hits the error it doesn't process the rewrites.

Related

C compiler cannot create executables when trying to install ruby-1.9.3-p392 on Yosemite OSX

I recently upgraded my OSX to Yosemite.
As a result i needed to remove and install the ruby versions on my computer.
When i am trying to install ruby 1.9.3-p392 i am getting an error :
~$ rvm install ruby-1.9.3-p392
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.10/x86_64/ruby-1.9.3-p392.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Certificates in '/usr/local/etc/openssl/cert.pem' are already up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/lital.zubery/.rvm/rubies/ruby-1.9.3-p392, this may take a while depending on your cpu(s)...
ruby-1.9.3-p392 - #downloading ruby-1.9.3-p392, this may take a while depending on your connection...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 9789k 100 9789k 0 0 479k 0 0:00:20 0:00:20 --:--:-- 1987k
ruby-1.9.3-p392 - #extracting ruby-1.9.3-p392 to /Users/lital.zubery/.rvm/src/ruby-1.9.3-p392....
ruby-1.9.3-p392 - #applying patch /Users/lital.zubery/.rvm/patches/ruby/GH-488.patch.
ruby-1.9.3-p392 - #configuring.
Error running './configure --prefix=/Users/lital.zubery/.rvm/rubies/ruby-1.9.3-p392 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libksba:/usr/local/opt/openssl --without-tcl --without-tk --disable-install-doc --enable-shared',
showing last 15 lines of /Users/lital.zubery/.rvm/log/1415518177_ruby-1.9.3-p392/configure.log
[2014-11-09 09:29:45] ./configure
current path: /Users/lital.zubery/.rvm/src/ruby-1.9.3-p392
GEM_HOME=/Users/lital.zubery/.rvm/gems/ruby-2.1.4
PATH=/usr/local/opt/pkg-config/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/Users/lital.zubery/.rvm/gems/ruby-2.1.4/bin:/Users/lital.zubery/.rvm/gems/ruby-2.1.4#global/bin:/Users/lital.zubery/.rvm/rubies/ruby-2.1.4/bin:/opt/local/bin:/opt/local/sbin:/Applications/apache-maven-3.2.2/bin:/usr/local/heroku/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/opt/local/bin:/usr/local/mysql-5.1.58-osx10.6-x86_64/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/lital.zubery/.rvm/bin:/Users/lital.zubery/.rvm/bin
GEM_PATH=/Users/lital.zubery/.rvm/gems/ruby-2.1.4:/Users/lital.zubery/.rvm/gems/ruby-2.1.4#global
command(7): ./configure --prefix=/Users/lital.zubery/.rvm/rubies/ruby-1.9.3-p392 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libksba:/usr/local/opt/openssl --without-tcl --without-tk --disable-install-doc --enable-shared
configure: WARNING: unrecognized options: --without-tcl, --without-tk
checking build system type... i386-apple-darwin14.0.0
checking host system type... i386-apple-darwin14.0.0
checking target system type... i386-apple-darwin14.0.0
checking whether the C compiler works... no
configure: error: in `/Users/lital.zubery/.rvm/src/ruby-1.9.3-p392':
configure: error: C compiler cannot create executables
See `config.log' for more details
There has been an error while running configure. Halting the installation.
This is the config.log:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/Users/lital.zubery/.rvm/rubies/ruby-1.9.3-p392 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libksba:/usr/local/opt/openssl --without-tcl --without-tk --disable-install-doc --enable-shared
## --------- ##
## Platform. ##
## --------- ##
hostname = LitalZ.local
uname -m = x86_64
uname -r = 14.0.0
uname -s = Darwin
uname -v = Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64
/usr/bin/uname -p = i386
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = Mach kernel version:
Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64
Kernel configured for up to 4 processors.
2 processors are physically available.
4 processors are logically available.
Processor type: x86_64h (Intel x86-64h Haswell)
Processors active: 0 1 2 3
Primary memory available: 4.00 gigabytes
Default processor set: 243 tasks, 1028 threads, 4 processors
Load average: 1.71, Mach factor: 2.29
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/opt/pkg-config/bin
PATH: /usr/local/opt/libtool/bin
PATH: /usr/local/opt/automake/bin
PATH: /usr/local/opt/autoconf/bin
PATH: /Users/lital.zubery/.rvm/gems/ruby-2.1.4/bin
PATH: /Users/lital.zubery/.rvm/gems/ruby-2.1.4#global/bin
PATH: /Users/lital.zubery/.rvm/rubies/ruby-2.1.4/bin
PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /Applications/apache-maven-3.2.2/bin
PATH: /usr/local/heroku/bin
PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /opt/local/bin
PATH: /usr/local/mysql-5.1.58-osx10.6-x86_64/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /Users/lital.zubery/.rvm/bin
PATH: /Users/lital.zubery/.rvm/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2792: checking build system type
configure:2806: result: i386-apple-darwin14.0.0
configure:2874: checking host system type
configure:2887: result: i386-apple-darwin14.0.0
configure:2907: checking target system type
configure:2920: result: i386-apple-darwin14.0.0
configure:3401: checking for C compiler version
configure:3410: /usr/local/opt/gcc46/bin/gcc-4.6 --version >&5
./configure: line 3412: 42359 Segmentation fault: 11 $CC --version 1>&5
configure:3421: $? = 139
configure:3410: /usr/local/opt/gcc46/bin/gcc-4.6 -v >&5
./configure: line 3412: 42364 Segmentation fault: 11 $CC -v 1>&5
configure:3421: $? = 139
configure:3410: /usr/local/opt/gcc46/bin/gcc-4.6 -V >&5
./configure: line 3412: 42371 Segmentation fault: 11 $CC -V 1>&5
configure:3421: $? = 139
configure:3410: /usr/local/opt/gcc46/bin/gcc-4.6 -qversion >&5
./configure: line 3412: 42376 Segmentation fault: 11 $CC -qversion 1>&5
configure:3421: $? = 139
configure:3441: checking whether the C compiler works
configure:3463: /usr/local/opt/gcc46/bin/gcc-4.6 conftest.c >&5
./configure: line 3465: 42386 Segmentation fault: 11 $CC $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5
configure:3467: $? = 139
configure:3505: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define CANONICALIZATION_FOR_MATHN 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3510: error: in `/Users/lital.zubery/.rvm/src/ruby-1.9.3-p392':
configure:3512: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i386-apple-darwin14.0.0
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/usr/local/opt/gcc46/bin/gcc-4.6
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i386-apple-darwin14.0.0
ac_cv_prog_CC=/usr/local/opt/gcc46/bin/gcc-4.6
ac_cv_target=i386-apple-darwin14.0.0
## ----------------- ##
## Output variables. ##
## ----------------- ##
ALLOCA=''
AR=''
ARCHFILE=''
ARCH_FLAG=''
AS=''
ASFLAGS=''
BASERUBY='ruby'
BUILTIN_ENCOBJS=''
BUILTIN_TRANSOBJS=''
BUILTIN_TRANSSRCS=''
CAPITARGET=''
CC='/usr/local/opt/gcc46/bin/gcc-4.6'
CCDLFLAGS=''
CFLAGS=''
CHDIR=''
COMMON_HEADERS=''
COMMON_LIBS=''
COMMON_MACROS=''
COUTFLAG=''
CP=''
CPP=''
CPPFLAGS=''
CPPOUTFILE=''
CXX=''
CXXFLAGS=''
DEFS=''
DLDFLAGS=''
DLDLIBS=''
DLEXT2=''
DLEXT=''
DLLWRAP=''
DOT=''
DOXYGEN=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP=''
ENABLE_SHARED=''
EXECUTABLE_EXTS=''
EXEEXT=''
EXPORT_PREFIX=''
EXTOUT=''
EXTSTATIC=''
GCC=''
GNU_LD=''
GREP=''
INSTALLDOC=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LDFLAGS=''
LDSHARED=''
LDSHAREDXX=''
LIBEXT=''
LIBOBJS=''
LIBPATHENV=''
LIBPATHFLAG=''
LIBRUBY=''
LIBRUBYARG=''
LIBRUBYARG_SHARED=''
LIBRUBYARG_STATIC=''
LIBRUBY_A=''
LIBRUBY_ALIASES=''
LIBRUBY_DLDFLAGS=''
LIBRUBY_LDSHARED=''
LIBRUBY_RELATIVE=''
LIBRUBY_SO=''
LIBS=''
LINK_SO=''
LN_S=''
LTLIBOBJS=''
MAINLIBS=''
MAJOR='1'
MAKEDIRS=''
MAKEFILES=''
MANTYPE=''
MINIOBJS=''
MINIRUBY=''
MINOR='9'
MKDIR_P=''
NM=''
NROFF=''
NULLCMD=''
OBJCOPY=''
OBJDUMP=''
OBJEXT=''
OUTFLAG=''
PACKAGE=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKG_CONFIG=''
PLATFORM_DIR=''
PREP=''
RANLIB=''
RDOCTARGET=''
RI_BASE_NAME=''
RM=''
RMALL=''
RMDIR=''
RMDIRS=''
RPATHFLAG=''
RUBYW_BASE_NAME='rubyw'
RUBYW_INSTALL_NAME=''
RUBY_BASE_NAME='ruby'
RUBY_INSTALL_NAME=''
RUBY_PROGRAM_VERSION='1.9.3'
RUBY_RELEASE_DATE='2013-02-22'
RUBY_SO_NAME=''
RUNRUBY=''
SET_MAKE=''
SHELL='/bin/sh'
SOLIBS=''
STATIC=''
STRIP=''
SYMBOL_PREFIX=''
TEENY='1'
TEST_RUNNABLE=''
THREAD_MODEL=''
TRY_LINK=''
UNIVERSAL_ARCHNAMES=''
UNIVERSAL_INTS=''
USE_RUBYGEMS=''
WERRORFLAG=''
WINDRES=''
XCFLAGS=''
XLDFLAGS=''
XRUBY=''
XRUBY_LIBDIR=''
XRUBY_RUBYHDRDIR=''
XRUBY_RUBYLIBDIR=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_OBJCOPY=''
ac_ct_OBJDUMP=''
arch=''
bindir='${exec_prefix}/bin'
build='i386-apple-darwin14.0.0'
build_alias=''
build_cpu='i386'
build_os='darwin14.0.0'
build_vendor='apple'
cflags=' ${optflags} ${debugflags} ${warnflags}'
configure_args=''
cppflags=''
cxxflags=' ${optflags} ${debugflags} ${warnflags}'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
debugflags=''
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec=''
exec_prefix='NONE'
host='i386-apple-darwin14.0.0'
host_alias=''
host_cpu='i386'
host_os='darwin14.0.0'
host_vendor='apple'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
optflags=''
pdfdir='${docdir}'
prefix='/Users/lital.zubery/.rvm/rubies/ruby-1.9.3-p392'
program_transform_name='s&^&&'
psdir='${docdir}'
ridir=''
ruby_pc=''
ruby_version=''
rubyhdrdir=''
rubylibprefix=''
rubyw_install_name=''
sbindir='${exec_prefix}/sbin'
setup=''
sharedstatedir='${prefix}/com'
sitearch=''
sitedir=''
sitehdrdir=''
sysconfdir='${prefix}/etc'
target='i386-apple-darwin14.0.0'
target_alias=''
target_cpu='i386'
target_os='darwin14.0.0'
target_vendor='apple'
try_header=''
vendordir=''
vendorhdrdir=''
warnflags=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define CANONICALIZATION_FOR_MATHN 1
configure: exit 77
I have tried to reinstall the rvm - didn't help that match.
I have tried to update the XCode and also reinstall it. didn't help also.
I'd love for some help please ..
P.S.
I am able to install other versions of ruby through RVM .
Try to install the latest XCode and XCode terminal utilities. It is required to compile ruby on osx 10.10

configure: error: C compiler cannot create executables while build ruby from source

I've checked a number of similar questions on stackoverflow but haven't found an answer yet.
I am trying to build Ruby from source as describe here: https://www.ruby-lang.org/en/installation/#building-from-source
Here what i am getting:
ubuntu#saucy1:~/ruby-2.1.1$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/ubuntu/ruby-2.1.1':
configure: error: C compiler cannot create executables
See `config.log' for more details
Here's my config.log:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = saucy1
uname -m = x86_64
uname -r = 3.11.0-15-generic
uname -s = Linux
uname -v = #25-Ubuntu SMP Thu Jan 30 17:22:01 UTC 2014
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2904: checking build system type
configure:2918: result: x86_64-unknown-linux-gnu
configure:3018: checking host system type
configure:3031: result: x86_64-unknown-linux-gnu
configure:3051: checking target system type
configure:3064: result: x86_64-unknown-linux-gnu
configure:3544: checking for gcc
configure:3560: found /usr/bin/gcc
configure:3571: result: gcc
configure:3800: checking for C compiler version
configure:3809: gcc --version >&5
gcc (Ubuntu/Linaro 4.8.1-10ubuntu9) 4.8.1
Copyright (C) 2013 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.
gcc: error: missing argument to '-march='
configure:3820: $? = 0
configure:3809: gcc -v >&5
Using built-in specs.
gcc: error: missing argument to '-march='
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.8.1-10ubuntu9' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --pre$
Thread model: posix
gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu9)
configure:3820: $? = 0
configure:3809: gcc -V >&5
gcc: error: missing argument to '-march='
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3820: $? = 4
configure:3809: gcc -qversion >&5
gcc: error: missing argument to '-march='
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.8.1-10ubuntu9' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --pre$
Thread model: posix
gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu9)
configure:3820: $? = 0
configure:3809: gcc -V >&5
gcc: error: missing argument to '-march='
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3820: $? = 4
configure:3809: gcc -qversion >&5
gcc: error: missing argument to '-march='
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3820: $? = 4
configure:3840: checking whether the C compiler works
configure:3862: gcc conftest.c >&5
gcc: error: missing argument to '-march='
configure:3866: $? = 1
configure:3904: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define CANONICALIZATION_FOR_MATHN 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3909: error: in `/home/ubuntu/ruby-2.1.1':
configure:3911: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_prog_ac_ct_CC=gcc
ac_cv_target=x86_64-unknown-linux-gnu
## ----------------- ##
## Output variables. ##
## ----------------- ##
ALLOCA=''
AR=''
ARCHFILE=''
ARCH_FLAG=''
AS=''
ASFLAGS=''
BASERUBY='echo executable host ruby is required. use --with-baseruby option.; false'
BTESTRUBY=''
BUILTIN_ENCOBJS=''
BUILTIN_TRANSOBJS=''
BUILTIN_TRANSSRCS=''
CAPITARGET=''
CC='gcc'
CCDLFLAGS=''
CC_VERSION=''
CFLAGS=''
CHDIR=''
COMMON_HEADERS=''
COMMON_LIBS=''
COMMON_MACROS=''
COUTFLAG=''
CP=''
CPP=''
CPPFLAGS=''
CPPOUTFILE=''
CROSS_COMPILING=''
CXX=''
CXXFLAGS=''
DEFS=''
DLDFLAGS=''
DLDLIBS=''
DLEXT2=''
DLEXT=''
DLLWRAP=''
DLNOBJ=''
DOT=''
DOXYGEN=''
DTRACE=''
DTRACE_EXT=''
DTRACE_GLOMMED_OBJ=''
DTRACE_OBJ=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_SHARED=''
ENCOBJS=''
EXECUTABLE_EXTS=''
EXEEXT=''
EXPORT_PREFIX=''
EXTDLDFLAGS=''
EXTLDFLAGS=''
EXTOBJS=''
EXTOUT=''
EXTSTATIC=''
GCC=''
GNU_LD=''
GREP=''
INSTALLDOC=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LD=''
LDFLAGS=''
LDSHARED=''
LDSHAREDXX=''
LIBEXT=''
LIBOBJS=''
LIBPATHENV=''
LIBPATHFLAG=''
LIBRUBY=''
LIBRUBYARG=''
LIBRUBYARG_SHARED=''
LIBRUBYARG_STATIC=''
LIBRUBY_A=''
LIBRUBY_ALIASES=''
LIBRUBY_A_OBJS=''
LIBRUBY_DLDFLAGS=''
LIBRUBY_LDSHARED=''
LIBRUBY_RELATIVE=''
LIBRUBY_SO=''
LIBS=''
LINK_SO=''
LN_S=''
LTLIBOBJS=''
MAINLIBS=''
MAJOR='2'
MAKEDIRS=''
MAKEFILES=''
MANTYPE=''
MINIOBJS=''
MINIRUBY=''
MINOR='1'
MKDIR_P=''
NACL_SDK_ROOT=''
NACL_SDK_VARIANT=''
NACL_TOOLCHAIN=''
NM=''
NROFF=''
NULLCMD=''
OBJCOPY=''
OBJDUMP=''
OBJEXT=''
OUTFLAG=''
PACKAGE=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKG_CONFIG=''
PLATFORM_DIR=''
POSTLINK=''
PREP=''
PYTHON=''
RANLIB=''
RDOCTARGET=''
RI_BASE_NAME=''
RM=''
RMALL=''
RMDIR=''
RMDIRS=''
RPATHFLAG=''
RUBYW_BASE_NAME='rubyw'
RUBYW_INSTALL_NAME=''
RUBY_BASE_NAME='ruby'
RUBY_EXEC_PREFIX=''
RUBY_INSTALL_NAME=''
RUBY_LIB_VERSION=''
RUBY_LIB_VERSION_STYLE=''
RUBY_PROGRAM_VERSION='2.1.1'
RUBY_RELEASE_DATE='2014-02-24'
RUBY_SEARCH_PATH=''
RUBY_SO_NAME=''
RUBY_VERSION_NAME='${RUBY_BASE_NAME}-${ruby_version}'
RUNRUBY=''
RUNRUBY_COMMAND=''
SET_MAKE=''
SHELL='/bin/bash'
SOLIBS=''
STATIC=''
STRIP=''
SYMBOL_PREFIX=''
TEENY='0'
TEST_RUNNABLE=''
THREAD_MODEL=''
TRY_LINK=''
UNIVERSAL_ARCHNAMES=''
UNIVERSAL_INTS=''
USE_RUBYGEMS=''
WERRORFLAG=''
WINDRES=''
XCFLAGS=''
XLDFLAGS=''
XRUBY=''
XRUBY_LIBDIR=''
XRUBY_RUBYHDRDIR=''
XRUBY_RUBYLIBDIR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_OBJCOPY=''
ac_ct_OBJDUMP=''
arch=''
archincludedir=''
archlibdir=''
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
cflags=' ${optflags} ${debugflags} ${warnflags}'
codesign=''
configure_args=''
cppflags=''
cxxflags=' ${optflags} ${debugflags} ${warnflags}'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
debugflags=''
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec=''
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libdirname=''
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
optflags=''
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s&^&&'
psdir='${docdir}'
ridir=''
ruby_pc=''
ruby_version=''
rubyarchdir=''
rubyarchhdrdir=''
rubyarchprefix=''
rubyhdrdir=''
rubylibdir=''
rubylibprefix=''
rubysitearchprefix=''
rubyw_install_name=''
sbindir='${exec_prefix}/sbin'
setup=''
sharedstatedir='${prefix}/com'
sitearch=''
sitearchdir=''
sitearchhdrdir=''
sitearchincludedir=''
sitearchlibdir=''
sitedir=''
sitehdrdir=''
sitelibdir=''
strict_warnflags=''
sysconfdir='${prefix}/etc'
target='x86_64-unknown-linux-gnu'
target_alias=''
target_cpu='x86_64'
target_os='linux'
target_vendor='unknown'
try_header=''
vendorarchdir=''
vendorarchhdrdir=''
vendordir=''
vendorhdrdir=''
vendorlibdir=''
warnflags=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define CANONICALIZATION_FOR_MATHN 1
configure: exit 77

Problems with vim-pathogen on mac osx

I have recently moved from Ubuntu to Mac osx. And my first thing is to bring my vim with me.
I downloaded source from vim.org and compiled with gcc.( I'll put the version output at the bottom of my post)
I added pathogen.vim to ~/.vim/autoload directory. But when I add the code in ~/.vim/vimrc:
execute pathogen#infect()
I got errors when tring to start vim, here is the error output:
Error detected while processing /Users/jack/.vim/vimrc:
line 3:
E117: Unknown function: pathogen#infect
E15: Invalid expression: pathogen#infect()
Press ENTER or type command to continue
First I though perhaps vim did not load pathogen.vim, but :scriptnames showed it did load!
1: ~/.vim/vimrc
2: ~/.vim/bundle/vim-pathogen/autoload/pathogen.vim
After I ran :function, something caught my attention, there is a "abort" after the infect function, I google around, and found it did not solve my problem either:
function pathogen#legacyjoin(...) abort
function pathogen#runtime_append_all_bundles(...) abort
function pathogen#surround(path) abort
function <SNR>2_Findcomplete(A, L, P)
function pathogen#uniq(list) abort
function pathogen#incubate(...) abort
function pathogen#glob(pattern) abort
function <SNR>2_warn(msg)
function pathogen#runtime_findfile(file, count) abort
function pathogen#separator() abort
function pathogen#runtime_prepend_subdirectories(path)
function pathogen#glob_directories(pattern) abort
function pathogen#infect(...) abort
function pathogen#is_disabled(path)
function pathogen#join(...) abort
function pathogen#cycle_filetype()
function pathogen#split(path) abort
function <SNR>2_find(count, cmd, file, lcd)
function pathogen#fnameescape(string) abort
function pathogen#execute(...) abort
function pathogen#helptags() abort
Can anyone help point out what should I do to solve this problem?
Here is the version output with command "vim --version":
JacktekiMac-Pro:.vim$ vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Dec 6 2013 17:01:30)
MacOS X (unix) version
Huge version without GUI. Features included (+) or not (-):
+arabic +file_in_path +mouse_sgr +tag_binary
+autocmd +find_in_path -mouse_sysmouse +tag_old_static
-balloon_eval +float +mouse_urxvt -tag_any_white
-browse +folding +mouse_xterm -tcl
++builtin_terms -footer +multi_byte +terminfo
+byte_offset +fork() +multi_lang +termresponse
+cindent -gettext -mzscheme +textobjects
-clientserver -hangul_input +netbeans_intg +title
+clipboard +iconv +path_extra -toolbar
+cmdline_compl +insert_expand -perl +user_commands
+cmdline_hist +jumplist +persistent_undo +vertsplit
+cmdline_info +keymap +postscript +virtualedit
+comments +langmap +printer +visual
+conceal +libcall +profile +visualextra
+cryptv +linebreak +python/dyn +viminfo
-cscope +lispindent -python3 +vreplace
+cursorbind +listcmds +quickfix +wildignore
+cursorshape +localmap +reltime +wildmenu
+dialog_con -lua +rightleft +windows
+diff +menu -ruby +writebackup
+digraphs +mksession +scrollbind -X11
-dnd +modify_fname +signs -xfontset
-ebcdic +mouse +smartindent -xim
+emacs_tags -mouseshape -sniff -xsmp
+eval +mouse_dec +startuptime -xterm_clipboard
+ex_extra -mouse_gpm +statusline -xterm_save
+extra_search -mouse_jsbterm -sun_workshop
+farsi +mouse_netterm +syntax
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
fall-back for $VIM: "/usr/local/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DMACOS_X_UNIX -no-cpp-precomp -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -o vim -lm -lncurses -liconv -framework Cocoa
I found the problem.
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
I set $VIM to ~/.vim, which is the same as the 2nd user vimrc file. So the vimrc file load twice.
After I change $VIM to /etc/vim, everything turns out be good.
I had a similar problem and found that I had not created the ~/.vim directory correctly. I created it in the root by changing directory there and typing mkdir /.vim but for some reason it was not working. Then I deleted this folder and did mkdir ~/.vim and was ably to install and use pathogen.

setting up protobuf with mingw windows

I am setting up protubuf with windows and mingw and it works fine in msys til i have to do this:
And in response it produces this log:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Protocol Buffers configure 2.4.1, which was
generated by GNU Autoconf 2.65. Invocation command line was
$ ./configure --prefix=C:/Users/Samuel/Downloads/MSYS-20111123/msys/home/Samuel/protobuf-2.4.1
## --------- ##
## Platform. ##
## --------- ##
hostname = SamuelsComputer
uname -m = i686
uname -r = 1.0.17(0.48/3/2)
uname -s = MINGW32_NT-6.2
uname -v = 2011-04-24 23:39
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: .
PATH: /usr/local/bin
PATH: /mingw/bin
PATH: /bin
PATH: /c/Program Files (x86)/Intel/iCLS Client/
PATH: /c/Program Files/Intel/iCLS Client/
PATH: /c/windows/system32
PATH: /c/windows
PATH: /c/windows/System32/Wbem
PATH: /c/windows/System32/WindowsPowerShell/v1.0/
PATH: /c/Program Files/Intel/Intel(R) Management Engine Components/DAL
PATH: /c/Program Files/Intel/Intel(R) Management Engine Components/IPT
PATH: /c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL
PATH: /c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT
PATH: /c/Program Files (x86)/Intel/OpenCL SDK/2.0/bin/x86
PATH: /c/Program Files (x86)/Intel/OpenCL SDK/2.0/bin/x64
PATH: /c/Program Files/Lenovo/Bluetooth Software/
PATH: /c/Program Files/Lenovo/Bluetooth Software/syswow64
PATH: /c/Program Files (x86)/QuickTime/QTSystem/
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2608: checking build system type
configure:2622: result: i686-pc-mingw32
configure:2642: checking host system type
configure:2655: result: i686-pc-mingw32
configure:2675: checking target system type
configure:2688: result: i686-pc-mingw32
configure:2731: checking for a BSD-compatible install
configure:2799: result: /bin/install -c
configure:2810: checking whether build environment is sane
configure:2860: result: yes
configure:3001: checking for a thread-safe mkdir -p
configure:3040: result: /bin/mkdir -p
configure:3053: checking for gawk
configure:3069: found /bin/gawk
configure:3080: result: gawk
configure:3091: checking whether make sets $(MAKE)
configure:3113: result: yes
configure:3261: checking for gcc
configure:3291: result: no
configure:3354: checking for cc
configure:3401: result: no
configure:3457: checking for cl.exe
configure:3487: result: no
configure:3511: error: in `/home/Samuel/protobuf-2.4.1':
configure:3514: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-mingw32
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-mingw32
ac_cv_path_install='/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=yes
ac_cv_target=i686-pc-mingw32
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/Samuel/protobuf-2.4.1/missing --run aclocal-1.11'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/Samuel/protobuf-2.4.1/missing --run tar'
AR=''
AUTOCONF='${SHELL} /home/Samuel/protobuf-2.4.1/missing --run autoconf'
AUTOHEADER='${SHELL} /home/Samuel/protobuf-2.4.1/missing --run autoheader'
AUTOMAKE='${SHELL} /home/Samuel/protobuf-2.4.1/missing --run automake-1.11'
AWK='gawk'
CC=''
CCDEPMODE=''
CFLAGS=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GCC_FALSE=''
GCC_TRUE=''
GREP=''
HAVE_ZLIB_FALSE=''
HAVE_ZLIB_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
ISAINFO=''
LD=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/Samuel/protobuf-2.4.1/missing --run makeinfo'
MKDIR_P='/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='protobuf'
PACKAGE_BUGREPORT='protobuf#googlegroups.com'
PACKAGE_NAME='Protocol Buffers'
PACKAGE_STRING='Protocol Buffers 2.4.1'
PACKAGE_TARNAME='protobuf'
PACKAGE_URL=''
PACKAGE_VERSION='2.4.1'
PATH_SEPARATOR=':'
POW_LIB=''
PROTOBUF_OPT_FLAG=''
PROTOC=''
PTHREAD_CC=''
PTHREAD_CFLAGS=''
PTHREAD_LIBS=''
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
USE_EXTERNAL_PROTOC_FALSE=''
USE_EXTERNAL_PROTOC_TRUE=''
VERSION='2.4.1'
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_DUMPBIN=''
acx_pthread_config=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-mingw32'
build_alias=''
build_cpu='i686'
build_os='mingw32'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-mingw32'
host_alias=''
host_cpu='i686'
host_os='mingw32'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/Samuel/protobuf-2.4.1/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
lt_ECHO='echo'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='C:/Users/Samuel/Downloads/MSYS-20111123/msys/home/Samuel/protobuf-2.4.1'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='${prefix}/etc'
target='i686-pc-mingw32'
target_alias=''
target_cpu='i686'
target_os='mingw32'
target_vendor='pc'
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "Protocol Buffers"
#define PACKAGE_TARNAME "protobuf"
#define PACKAGE_VERSION "2.4.1"
#define PACKAGE_STRING "Protocol Buffers 2.4.1"
#define PACKAGE_BUGREPORT "protobuf#googlegroups.com"
#define PACKAGE_URL ""
#define PACKAGE "protobuf"
#define VERSION "2.4.1"
configure: exit 1
when i try instead executing the following command:
it acts really weird and gives no feedback when executing later commands, and then does not recognise the following line of code, which is used as a test to see if it has worked:
#include <google/protobuf/message.h>
Can you explain what is wrong and how to fix it
Edit:
I am going off of the advice given by Peter Remmers at:
here
Edit 2:
If I just run ./configure without a prefix I get the following:
msys text can be seen here
I am running windows 8 and am compiling in codeblocks to test if it has worked
What gives it away is this:
configure:3261: checking for gcc
configure:3291: result: no
This means there is no gcc in PATH. Make sure you add your MinGW's compiler toolchain bin directory to PATH.
Open the msys shell and try mounting
mount
If your MINGW path is missing, then you have to setup the $PATH variable.
Try adding the following line and a blank line to the file fstab in the subfolder msys/1.0/etc
C:\MinGW /mingw
More details: See here http://www.mingw.org/wiki/Getting_Started
If that does not work then you're probably missing the needed compiler. I.e. install the gcc compiler

Cannot Install npm on Mac 10.6.4 Strange Errors

MacPro:macpro fred$ curl http://npmjs.org/install.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3927 100 3927 0 0 958 0 0:00:04 0:00:04 --:--:-- 1038
fetching: http://registry.npmjs.org/npm/-/npm-1.0.22.tgz
node.js:63
throw e;
^
Error: Cannot find module 'graceful-fs'
at loadModule (node.js:275:15)
at require (node.js:411:14)
at Object.<anonymous> (/private/var/folders/Da/DabGxbDzFA8Fcw2FWL3FpE+++TI/-Tmp-/npm.11529/package/lib/utils/read-json.js:7:10)
at Module._compile (node.js:462:23)
at Module._loadScriptSync (node.js:469:10)
at Module.loadSync (node.js:338:12)
at loadModule (node.js:283:14)
at require (node.js:411:14)
at Object.<anonymous> (/private/var/folders/Da/DabGxbDzFA8Fcw2FWL3FpE+++TI/-Tmp-/npm.11529/package/bin/read-package-json.js:9:16)
at Module._compile (node.js:462:23)
0.2.5
node.js:63
throw e;
^
Error: Cannot find module 'graceful-fs'
at loadModule (node.js:275:15)
at require (node.js:411:14)
at Object.<anonymous> (/private/var/folders/Da/DabGxbDzFA8Fcw2FWL3FpE+++TI/-Tmp-/npm.11529/package/lib/utils/read-json.js:7:10)
at Module._compile (node.js:462:23)
at Module._loadScriptSync (node.js:469:10)
at Module.loadSync (node.js:338:12)
at loadModule (node.js:283:14)
at require (node.js:411:14)
at Object.<anonymous> (/private/var/folders/Da/DabGxbDzFA8Fcw2FWL3FpE+++TI/-Tmp-/npm.11529/package/bin/read-package-json.js:9:16)
at Module._compile (node.js:462:23)
node.js:63
throw e;
^
Error: Cannot find module 'graceful-fs'
at loadModule (node.js:275:15)
at require (node.js:411:14)
at Object.<anonymous> (/private/var/folders/Da/DabGxbDzFA8Fcw2FWL3FpE+++TI/-Tmp-/npm.11529/package/lib/utils/read-json.js:7:10)
at Module._compile (node.js:462:23)
at Module._loadScriptSync (node.js:469:10)
at Module.loadSync (node.js:338:12)
at loadModule (node.js:283:14)
at require (node.js:411:14)
at Object.<anonymous> (/private/var/folders/Da/DabGxbDzFA8Fcw2FWL3FpE+++TI/-Tmp-/npm.11529/package/bin/read-package-json.js:9:16)
at Module._compile (node.js:462:23)
! [ -d .git ] || git submodule update --init --recursive
node cli.js cache clean
node.js:63
throw e;
^
Error: Cannot find module 'graceful-fs'
at loadModule (node.js:275:15)
at require (node.js:411:14)
at Object.<anonymous> (/private/var/folders/Da/DabGxbDzFA8Fcw2FWL3FpE+++TI/-Tmp-/npm.11529/package/lib/utils/ini.js:31:10)
at Module._compile (node.js:462:23)
at Module._loadScriptSync (node.js:469:10)
at Module.loadSync (node.js:338:12)
at loadModule (node.js:283:14)
at require (node.js:411:14)
at Object.<anonymous> (/private/var/folders/Da/DabGxbDzFA8Fcw2FWL3FpE+++TI/-Tmp-/npm.11529/package/lib/config.js:10:11)
at Module._compile (node.js:462:23)
make: *** [uninstall] Error 1
node.js:63
throw e;
^
Error: Cannot find module 'graceful-fs'
at loadModule (node.js:275:15)
at require (node.js:411:14)
at Object.<anonymous> (/private/var/folders/Da/DabGxbDzFA8Fcw2FWL3FpE+++TI/-Tmp-/npm.11529/package/lib/utils/ini.js:31:10)
at Module._compile (node.js:462:23)
at Module._loadScriptSync (node.js:469:10)
at Module.loadSync (node.js:338:12)
at loadModule (node.js:283:14)
at require (node.js:411:14)
at Object.<anonymous> (/private/var/folders/Da/DabGxbDzFA8Fcw2FWL3FpE+++TI/-Tmp-/npm.11529/package/lib/config.js:10:11)
at Module._compile (node.js:462:23)
node.js:63
throw e;
^
Error: Cannot find module 'graceful-fs'
at loadModule (node.js:275:15)
at require (node.js:411:14)
at Object.<anonymous> (/private/var/folders/Da/DabGxbDzFA8Fcw2FWL3FpE+++TI/-Tmp-/npm.11529/package/lib/utils/ini.js:31:10)
at Module._compile (node.js:462:23)
at Module._loadScriptSync (node.js:469:10)
at Module.loadSync (node.js:338:12)
at loadModule (node.js:283:14)
at require (node.js:411:14)
at Object.<anonymous> (/private/var/folders/Da/DabGxbDzFA8Fcw2FWL3FpE+++TI/-Tmp-/npm.11529/package/lib/config.js:10:11)
at Module._compile (node.js:462:23)
It failed
MacPro:macpro fred$
Any suggestions?
You shouldn't install npm directly.
npm has been bundled with node since 0.6.3.
If you install the latest node.js from http://nodejs.org/ you'll get npm aswell.

Resources