# make
make -C src install
make[1]: Entering directory `/root/geocoder/src'
make -C libsqlite3_geocoder
make[2]: Entering directory `/root/geocoder/src/libsqlite3_geocoder'
Makefile:11: warning: overriding commands for target
`libsqlite3_geocoder.so'
Makefile:4: warning: ignoring old commands for target
`libsqlite3_geocoder.so'
Makefile:22: warning: overriding commands for target `clean'
Makefile:8: warning: ignoring old commands for target `clean'
gcc-4.2 -arch i386 -lsqlite3 -I/usr/include -shared extension.o
wkb_compress.o util.o metaphon.o levenshtein.o -o
libsqlite3_geocoder.so
gcc-4.2: i386: No such file or directory
make[2]: *** [libsqlite3_geocoder.so] Error 1
make[2]: Leaving directory `/root/geocoder/src/libsqlite3_geocoder'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/geocoder/src'
make: *** [all] Error 2
# make
make -C src install
make[1]: Entering directory `/root/geocoder/src'
make -C libsqlite3_geocoder
make[2]: Entering directory `/root/geocoder/src/libsqlite3_geocoder'
Makefile:11: warning: overriding commands for target
`libsqlite3_geocoder.so'
Makefile:4: warning: ignoring old commands for target
`libsqlite3_geocoder.so'
Makefile:22: warning: overriding commands for target `clean'
Makefile:8: warning: ignoring old commands for target `clean'
gcc -arch i386 -lsqlite3 -I/usr/include -shared extension.o
wkb_compress.o util.o metaphon.o levenshtein.o -o
libsqlite3_geocoder.so
gcc: i386: No such file or directory
make[2]: *** [libsqlite3_geocoder.so] Error 1
make[2]: Leaving directory `/root/geocoder/src/libsqlite3_geocoder'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/geocoder/src'
make: *** [all] Error 2
On Jan 6, 10:38 am, Kate Chapman <k8chap...@gmail.com> wrote:
> Hi Todd,
>
> Try changing it so it uses just gcc instead of gcc-4.2. I would expect it
> to compile fine with the default gcc on Debian.
>
> At some point I'd like to write a nice friendly configure script for this,
> but I'm not sure when it will happen.
>
> -Kate
>
I believe I am using 64bit linux. Here is the output of uname -a:
Linux 2map2Geocoder 2.6.31-302-rs #7 SMP Thu Oct 29 22:57:03 UTC 2009
x86_64 GNU/Linux
This was also built on my server using ubuntu (debian) also and i did
not run into any issues.
Chad
I was about to mention that since I had the same problem a while back. Check the archives for some info on how I solved it.
On Jan 6, 2010 12:50 PM, "Todd W" <imto...@gmail.com> wrote:
I could be wrong but I am almost certain it is directly related to -
arch i386.
I believe I am using 64bit linux. Here is the output of uname -a:
Linux 2map2Geocoder 2.6.31-302-rs #7 SMP Thu Oct 29 22:57:03 UTC 2009
x86_64 GNU/Linux
On Jan 6, 10:47 am, Todd W <imtod...@gmail.com> wrote: > Thanks for the suggestion Kate, I am now u...
Here is a complete list of instructions to get it installed (not
including importing tiger yet) working on Rackspace Cloud with Ubuntu
9.10 and will probably work on Debian 5 as well.
If anyone has any suggestions on how to improve this please let me
know.
apt-get install -y gcc-4.2 git-svn build-essential ruby ruby-dev
rubygems unzip sqlite3 libsqlite3-dev
gem install Text
gem install fastercsv
git clone git://github.com/schuyler/sqlite3-ruby.git
cd sqlite3-ruby
ruby setup.rb config
ruby setup.rb setup
ruby setup.rb install
cd ..
git clone git://github.com/geocommons/geocoder.git
cd geocoder
mv src/libsqlite3_geocoder/Makefile src/libsqlite3_geocoder/
Makefile.old
mv src/libsqlite3_geocoder/Makefile.redhat src/libsqlite3_geocoder/
Makefile
mv src/shp2sqlite/Makefile src/shp2sqlite/Makefile.old
mv src/shp2sqlite/Makefile.redhat src/shp2sqlite/Makefile
make
make install
On Jan 6, 10:58 am, chad <chad....@gmail.com> wrote:
> I saw this problem on my mac when i was building. ironic and strange
> as it sounds, the fix was to use the Makefile.redhat versus the
> Makefile.nix by renaming the Makefile.redhat to Makefile and building
> in all directories where the fault shows up. i was seeing i386 arch
> type mentioned versus my 64bit mac as a notice.
>
> This was also built on my server using ubuntu (debian) also and i did
> not run into any issues.
>
> Chad
>
Chad