5122 projects % git clone git://github.com/drogus/apache-upload-progress-module.git jonathanwallace ttys003 Initialized empty Git repository in /Users/jonathanwallace/Documents/projects/apache-upload-progress-module/.git/ remote: Counting objects: 131, done. remote: Compressing objects: 100% (60/60), done. remote: Total 131 (delta 77), reused 116 (delta 69) Receiving objects: 100% (131/131), 20.50 KiB, done. Resolving deltas: 100% (77/77), done. ~/Documents/projects 5123 projects % cd apache-upload-progress-module jonathanwallace ttys003 ~/Documents/projects/apache-upload-progress-module on master(f318ec5) tracking origin/master 5124 apache-upload-progress-module:master % sudo apxs -c -Wc,-arch -Wc,x86_64 -Wl,-arch -Wl,x86_64 -i -a mod_upload_progress.c jonathanwallace ttys003 /opt/local/share/apr-1/build/libtool --silent --mode=compile /usr/bin/gcc-4.0 -prefer-pic -O2 -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I/opt/local/include -I/opt/local/apache2/include -I/opt/local/include/apr-1 -I/opt/local/include/apr-1 -I/opt/local/include -arch x86_64 -c -o mod_upload_progress.lo mod_upload_progress.c && touch mod_upload_progress.slo /opt/local/share/apr-1/build/libtool --silent --mode=link /usr/bin/gcc-4.0 -o mod_upload_progress.la -arch x86_64 -rpath /opt/local/apache2/modules -module -avoid-version mod_upload_progress.lo warning: no debug symbols in executable (-arch x86_64) /opt/local/apache2/build/instdso.sh SH_LIBTOOL='/opt/local/share/apr-1/build/libtool' mod_upload_progress.la /opt/local/apache2/modules /opt/local/share/apr-1/build/libtool --mode=install cp mod_upload_progress.la /opt/local/apache2/modules/ cp .libs/mod_upload_progress.so /opt/local/apache2/modules/mod_upload_progress.so cp .libs/mod_upload_progress.lai /opt/local/apache2/modules/mod_upload_progress.la cp .libs/mod_upload_progress.a /opt/local/apache2/modules/mod_upload_progress.a chmod 644 /opt/local/apache2/modules/mod_upload_progress.a ranlib /opt/local/apache2/modules/mod_upload_progress.a ---------------------------------------------------------------------- Libraries have been installed in: /opt/local/apache2/modules If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable during execution See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- chmod 755 /opt/local/apache2/modules/mod_upload_progress.so [activating module `upload_progress' in /opt/local/apache2/conf/httpd.conf] ~/Documents/projects/apache-upload-progress-module on master(f318ec5) tracking origin/master 5125 apache-upload-progress-module:master? % sudo apachectl start jonathanwallace ttys003 httpd: Syntax error on line 114 of /opt/local/apache2/conf/httpd.conf: Cannot load /opt/local/apache2/modules/mod_upload_progress.so into server: dlopen(/opt/local/apache2/modules/mod_upload_progress.so, 10): no suitable image found. Did find:\n\t/opt/local/apache2/modules/mod_upload_progress.so: mach-o, but wrong architecture ~/Documents/projects/apache-upload-progress-module on master(f318ec5) tracking origin/master exited 1