Based on your tips i submitted this script to make leptonica and tesseract:
#!/bin/sh > > #leptonica: > cd leptonica-1.69 > ./configure --prefix=$HOME/local/ > make install > > #tesseract: > cd ../tesseract-3.01 > LIBLEPT_HEADERSDIR=$HOME/local/include ./configure \ > --prefix=$HOME/local/ --with-extra-libraries=$HOME/local/lib > make install The result is ok for building leptonica, but the script fails with tesseract, reporting this: 11:12:06: [www] configure: WARNING: you should use --build, --host, --target 11:12:06: [www] configure: WARNING: invalid host type: 11:12:06: [www] config.sub: missing argument 11:12:06: [www] Try `config.sub --help' for more information. 11:12:06: [www] configure: error: /bin/bash config/config.sub failed 11:12:06: [www] ./prebuild.sh: 17: --prefix=/home/dotcloud/local/: not found 11:12:06: [www] make: *** No rule to make target `install'. Stop. 11:12:07: [www] checking build system type... -- Build failed: "chmod +x ./prebuild.sh ; ./prebuild.sh" failed with return code 2 11:12:08: [www] Build failed for service (www) 11:12:08: --> Deployment of application (dotcloudtest) aborted due to 1 build error(s) Thx fabio On Tuesday, September 18, 2012 2:18:44 PM UTC-7, operE Aperte wrote: > > Hi, > I'm trying to deploy a webapp that features OCR on uploaded images, but I > have no root access to build tesseract3 and leptonica on hosting machine > (ubuntu 10.04). > How can I do that without sudo? > > thx > -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tesseract-ocr?hl=en

