I'm getting an error when running the make install. I'm on EC2 and the server image is: (uname -a) -> Linux ip-XX-XXX-XXX-XX #.#.##.##-##.##.amzn1.x86_64 #1 SMP Mon Oct 24 16:03:08 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux I am following the instruction on the site and get this when running $ make clean all && sudo make install src/config/config.c:42:21: error: sqlite3.h: No such file or directory In file included from src/config/config.c:52: src/config/db.h:57: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token make: *** [src/config/config.o] Error 1 zeromq compiled without complaining but I am not sure how to verify that it is happy. sqlite is installed: $ which sqlite3 = sqlite3 is /usr/bin/sqlite3 Sorry, I'm a php/mysql web guy exploring new technology and I'm a bit out of my depth for troubleshooting. I had the prerequisites gmake,zeromq and sqlite already installed before I ran the make install for mongrel2. I would appreciate any help or suggestions to get the webserver compiled. Thank you, Matt
I think you may be missing the sqlite dev package. Juba On Jan 19, 2012 5:01 PM, "Matt Hippely" <hippely@gmail.com> wrote: > I'm getting an error when running the make install. > > I'm on EC2 and the server image is: (uname -a) -> Linux ip-XX-XXX-XXX-XX > #.#.##.##-##.##.amzn1.x86_64 #1 SMP Mon Oct 24 16:03:08 UTC 2011 x86_64 > x86_64 x86_64 GNU/Linux > > I am following the instruction on the site and get this when running $ make > clean all && sudo make install > > src/config/config.c:42:21: error: sqlite3.h: No such file or directory > In file included from src/config/config.c:52: > src/config/db.h:57: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘*’ token > make: *** [src/config/config.o] Error 1 > > zeromq compiled without complaining but I am not sure how to verify that > it is happy. > sqlite is installed: $ which sqlite3 = sqlite3 is /usr/bin/sqlite3 > > Sorry, I'm a php/mysql web guy exploring new technology and I'm a bit out > of my depth for troubleshooting. I had the prerequisites gmake,zeromq and > sqlite already installed before I ran the make install for mongrel2. > > I would appreciate any help or suggestions to get the webserver compiled. > Thank you, > > Matt >
Yup. That was it. Thank you for the direction. Matt On Thu, Jan 19, 2012 at 4:04 PM, Jubaraj Borgohain < jubarajborgohain@gmail.com> wrote: > I think you may be missing the sqlite dev package. > > Juba > On Jan 19, 2012 5:01 PM, "Matt Hippely" <hippely@gmail.com> wrote: > >> I'm getting an error when running the make install. >> >> I'm on EC2 and the server image is: (uname -a) -> Linux ip-XX-XXX-XXX-XX >> #.#.##.##-##.##.amzn1.x86_64 #1 SMP Mon Oct 24 16:03:08 UTC 2011 x86_64 >> x86_64 x86_64 GNU/Linux >> >> I am following the instruction on the site and get this when running $ make >> clean all && sudo make install >> >> src/config/config.c:42:21: error: sqlite3.h: No such file or directory >> In file included from src/config/config.c:52: >> src/config/db.h:57: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or >> ‘__attribute__’ before ‘*’ token >> make: *** [src/config/config.o] Error 1 >> >> zeromq compiled without complaining but I am not sure how to verify that >> it is happy. >> sqlite is installed: $ which sqlite3 = sqlite3 is /usr/bin/sqlite3 >> >> Sorry, I'm a php/mysql web guy exploring new technology and I'm a bit out >> of my depth for troubleshooting. I had the prerequisites gmake,zeromq and >> sqlite already installed before I ran the make install for mongrel2. >> >> I would appreciate any help or suggestions to get the webserver compiled. >> Thank you, >> >> Matt >> >