libjpeg package not found in torch? - torch

I am setting up torch in my system to run DCGAN code.
My system specification:
Ubuntu 18.04
CUDA-10.0
Torch distro that I am using : https://github.com/nagadomi/distro
I am getting this error libjpeg package not found while trying to run model training code
My hunch is that torch is not able to find libjpeg during the build. Is there a specific environment variable I have to set while building torch ?
BTW, I have libjpeg.so file present in /usr/lib64/
Any insight is highly appreciated.
Things that I have tried so far:
Install libjpeg via sudo apt-get install libjpeg-dev/turbo/devel etc. None of them work.
Install latest version of libjpeg from http://www.ijg.org/files/
Error message and full stacktrace that I am getting:
...alleryProject/distro/install/share/lua/5.1/xlua/init.lua:360: module 'libjpeg' not found:
no field package.preload['libjpeg']
no file '/home/wriders/.luarocks/share/lua/5.1/libjpeg.lua'
no file '/home/wriders/.luarocks/share/lua/5.1/libjpeg/init.lua'
no file '/home/wriders/Documents/AI/ArtGalleryProject/distro/install/share/lua/5.1/libjpeg.lua'
no file '/home/wriders/Documents/AI/ArtGalleryProject/distro/install/share/lua/5.1/libjpeg/init.lua'
no file './libjpeg.lua'
no file '/home/wriders/Documents/AI/ArtGalleryProject/distro/install/share/luajit-2.1.0-beta1/libjpeg.lua'
no file '/usr/local/share/lua/5.1/libjpeg.lua'
no file '/usr/local/share/lua/5.1/libjpeg/init.lua'
no file '/home/wriders/Documents/AI/ArtGalleryProject/distro/install/lib/libjpeg.so'
no file '/home/wriders/.luarocks/lib/lua/5.1/libjpeg.so'
no file '/home/wriders/Documents/AI/ArtGalleryProject/distro/install/lib/lua/5.1/libjpeg.so'
no file './libjpeg.so'
no file '/usr/local/lib/lua/5.1/libjpeg.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
warning: <libjpeg> could not be loaded (is it installed?)
...alleryProject/distro/install/share/lua/5.1/xlua/init.lua:360: module 'libjpeg' not found:
no field package.preload['libjpeg']
no file '/home/wriders/.luarocks/share/lua/5.1/libjpeg.lua'
no file '/home/wriders/.luarocks/share/lua/5.1/libjpeg/init.lua'
no file '/home/wriders/Documents/AI/ArtGalleryProject/distro/install/share/lua/5.1/libjpeg.lua'
no file '/home/wriders/Documents/AI/ArtGalleryProject/distro/install/share/lua/5.1/libjpeg/init.lua'
no file './libjpeg.lua'
no file '/home/wriders/Documents/AI/ArtGalleryProject/distro/install/share/luajit-2.1.0-beta1/libjpeg.lua'
no file '/usr/local/share/lua/5.1/libjpeg.lua'
no file '/usr/local/share/lua/5.1/libjpeg/init.lua'
no file '/home/wriders/Documents/AI/ArtGalleryProject/distro/install/lib/libjpeg.so'
no file '/home/wriders/.luarocks/lib/lua/5.1/libjpeg.so'
no file '/home/wriders/Documents/AI/ArtGalleryProject/distro/install/lib/lua/5.1/libjpeg.so'
no file './libjpeg.so'
no file '/usr/local/lib/lua/5.1/libjpeg.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
warning: <libjpeg> could not be loaded (is it installed?)
...alleryProject/distro/install/share/lua/5.1/xlua/init.lua:360: module 'libjpeg' not found:
no field package.preload['libjpeg']
no file '/home/wriders/.luarocks/share/lua/5.1/libjpeg.lua'
no file '/home/wriders/.luarocks/share/lua/5.1/libjpeg/init.lua'
no file '/home/wriders/Documents/AI/ArtGalleryProject/distro/install/share/lua/5.1/libjpeg.lua'
no file '/home/wriders/Documents/AI/ArtGalleryProject/distro/install/share/lua/5.1/libjpeg/init.lua'
no file './libjpeg.lua'
no file '/home/wriders/Documents/AI/ArtGalleryProject/distro/install/share/luajit-2.1.0-beta1/libjpeg.lua'
no file '/usr/local/share/lua/5.1/libjpeg.lua'
no file '/usr/local/share/lua/5.1/libjpeg/init.lua'
no file '/home/wriders/Documents/AI/ArtGalleryProject/distro/install/lib/libjpeg.so'
no file '/home/wriders/.luarocks/lib/lua/5.1/libjpeg.so'
no file '/home/wriders/Documents/AI/ArtGalleryProject/distro/install/lib/lua/5.1/libjpeg.so'
no file './libjpeg.so'
no file '/usr/local/lib/lua/5.1/libjpeg.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
warning: <libjpeg> could not be loaded (is it installed?)
...alleryProject/distro/install/share/lua/5.1/xlua/init.lua:360: module 'libjpeg' not found:
no field package.preload['libjpeg']
no file '/home/wriders/.luarocks/share/lua/5.1/libjpeg.lua'
no file '/home/wriders/.luarocks/share/lua/5.1/libjpeg/init.lua'
no file '/home/wriders/Documents/AI/ArtGalleryProject/distro/install/share/lua/5.1/libjpeg.lua'
no file '/home/wriders/Documents/AI/ArtGalleryProject/distro/install/share/lua/5.1/libjpeg/init.lua'
no file './libjpeg.lua'
no file '/home/wriders/Documents/AI/ArtGalleryProject/distro/install/share/luajit-2.1.0-beta1/libjpeg.lua'
no file '/usr/local/share/lua/5.1/libjpeg.lua'
no file '/usr/local/share/lua/5.1/libjpeg/init.lua'
no file '/home/wriders/Documents/AI/ArtGalleryProject/distro/install/lib/libjpeg.so'
no file '/home/wriders/.luarocks/lib/lua/5.1/libjpeg.so'
no file '/home/wriders/Documents/AI/ArtGalleryProject/distro/install/lib/lua/5.1/libjpeg.so'
no file './libjpeg.so'
no file '/usr/local/lib/lua/5.1/libjpeg.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
warning: <libjpeg> could not be loaded (is it installed?)
...alleryProject/distro/install/share/lua/5.1/xlua/init.lua:360: module 'libjpeg' not found:
no field package.preload['libjpeg']
no file '/home/wriders/.luarocks/share/lua/5.1/libjpeg.lua'
no file '/home/wriders/.luarocks/share/lua/5.1/libjpeg/init.lua'
no file '/home/wriders/Documents/AI/ArtGalleryProject/distro/install/share/lua/5.1/libjpeg.lua'
no file '/home/wriders/Documents/AI/ArtGalleryProject/distro/install/share/lua/5.1/libjpeg/init.lua'
no file './libjpeg.lua'
no file '/home/wriders/Documents/AI/ArtGalleryProject/distro/install/share/luajit-2.1.0-beta1/libjpeg.lua'
no file '/usr/local/share/lua/5.1/libjpeg.lua'
no file '/usr/local/share/lua/5.1/libjpeg/init.lua'
no file '/home/wriders/Documents/AI/ArtGalleryProject/distro/install/lib/libjpeg.so'
no file '/home/wriders/.luarocks/lib/lua/5.1/libjpeg.so'
no file '/home/wriders/Documents/AI/ArtGalleryProject/distro/install/lib/lua/5.1/libjpeg.so'
no file './libjpeg.so'
no file '/usr/local/lib/lua/5.1/libjpeg.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
warning: <libjpeg> could not be loaded (is it installed?)
/home/wriders/Documents/AI/ArtGalleryProject/distro/install/bin/luajit: ...Project/distro/install/share/lua/5.1/threads/threads.lua:183: [thread 2 callback]
...lleryProject/distro/install/share/lua/5.1/dok/inline.lua:738:
<image.loadJPG> libjpeg package not found, please install libjpeg
stack traceback:
[C]: in function 'error'
...lleryProject/distro/install/share/lua/5.1/dok/inline.lua:738: in function 'error'
...lleryProject/distro/install/share/lua/5.1/image/init.lua:232: in function 'loader'
...lleryProject/distro/install/share/lua/5.1/image/init.lua:388: in function 'load'
...ts/AI/ArtGalleryProject/art-DCGAN/data/donkey_folder.lua:34: in function 'loadImage'
...ts/AI/ArtGalleryProject/art-DCGAN/data/donkey_folder.lua:54: in function 'getByClass'
...ocuments/AI/ArtGalleryProject/art-DCGAN/data/dataset.lua:341: in function <...ocuments/AI/ArtGalleryProject/art-DCGAN/data/dataset.lua:335>
[C]: in function 'xpcall'
...Project/distro/install/share/lua/5.1/threads/threads.lua:234: in function 'callback'
...ryProject/distro/install/share/lua/5.1/threads/queue.lua:65: in function <...ryProject/distro/install/share/lua/5.1/threads/queue.lua:41>
[C]: in function 'pcall'
...ryProject/distro/install/share/lua/5.1/threads/queue.lua:40: in function 'dojob'
[string " local Queue = require 'threads.queue'..."]:15: in main chunk
stack traceback:
[C]: in function 'error'
...Project/distro/install/share/lua/5.1/threads/threads.lua:183: in function 'dojob'
...s/Documents/AI/ArtGalleryProject/art-DCGAN/data/data.lua:85: in function 'getBatch'
main.lua:180: in function 'opfunc'
...lleryProject/distro/install/share/lua/5.1/optim/adam.lua:37: in function 'adam'
main.lua:236: in main chunk
[C]: in function 'dofile'
...ect/distro/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x55c83b254570

Related

Issue installing Repast HPC 4.2.1 on MacOS with M1

When I run the ./install.sh netcdf' I get the following error:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:421:
../version:1:1: error: expected external declaration
-n 4.2
^
../version:1:2: error: unknown type name 'n'
-n 4.2
^
../version:1:4: error: expected unqualified-id
-n 4.2
^
In file included from netcdf.cpp:13:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iostream:37:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ios:214:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:15:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:520:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional_base:22:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/exception:85:
../version:1:1: error: expected external declaration
-n 4.2
^
../version:1:2: error: unknown type name 'n'
-n 4.2
^
../version:1:4: error: expected unqualified-id
-n 4.2
^
In file included from netcdf.cpp:13:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iostream:37:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ios:214:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:15:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:520:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional_base:23:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/new:95:
../version:1:1: error: expected external declaration
-n 4.2
^
../version:1:2: error: unknown type name 'n'
-n 4.2
^
../version:1:4: error: expected unqualified-id
-n 4.2
^
In file included from netcdf.cpp:13:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iostream:37:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ios:214:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:15:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:520:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional_base:26:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:214:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__utility/cmp.h:15:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/limits:121:
../version:1:1: error: expected external declaration
-n 4.2
^
../version:1:2: error: unknown type name 'n'
-n 4.2
^
../version:1:4: error: expected unqualified-id
-n 4.2
^
In file included from netcdf.cpp:13:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iostream:37:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ios:214:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:15:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:520:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional_base:26:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:228:
../version:1:1: error: expected external declaration
-n 4.2
^
../version:1:2: error: unknown type name 'n'
-n 4.2
^
../version:1:4: error: expected unqualified-id
-n 4.2
^
In file included from netcdf.cpp:13:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/iostream:37:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/ios:214:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__locale:15:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/string:522:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/algorithm:653:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:495:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/bind_front.h:14:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__functional/perfect_forward.h:14:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/tuple:164:
../version:1:1: error: expected external declaration
-n 4.2
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [libnetcdf_c___la-netcdf.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
It seems as though the installer is seeing the wrong versions (4.1.1 and 4.2.1) of netcdf, but both versions are in the same directory. I'm following the INSTALL.txt instructions but can't see how to resolve this error.
I was getting errors as I had no Fortran compiler, these have now been solved as I installed the NAG Fortran compiler. However, I don't know whether that could be causing these errors.

Sage theme build error: Invalid UTF-8 at runLoaders

I was building a theme with sage and copy the folder to another location. After that when I try to build the project I get this error:
Module build failed: ModuleBuildError: Module build failed: Invalid UTF-8
at runLoaders (/var/www/html/plataforma/wp-content/themes/template-mnm/node_modules/webpack/lib/NormalModule.js:195:19)
at /var/www/html/plataforma/wp-content/themes/template-mnm/node_modules/loader-runner/lib/LoaderRunner.js:364:11
at /var/www/html/plataforma/wp-content/themes/template-mnm/node_modules/loader-runner/lib/LoaderRunner.js:230:18
at context.callback (/var/www/html/plataforma/wp-content/themes/template-mnm/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
at Object.asyncSassJobQueue.push [as callback] (/var/www/html/plataforma/wp-content/themes/template-mnm/node_modules/sass-loader/lib/loader.js:55:13)
at Object. (/var/www/html/plataforma/wp-content/themes/template-mnm/node_modules/async/dist/async.js:2244:31)
at Object.callback (/var/www/html/plataforma/wp-content/themes/template-mnm/node_modules/async/dist/async.js:906:16)
at options.error (/var/www/html/plataforma/wp-content/themes/template-mnm/node_modules/node-sass/lib/index.js:294:32)
# multi ./scripts/main.js ./styles/main.scss
error in ./resources/assets/styles/main.scss
Module build failed: ModuleBuildError: Module build failed: Invalid UTF-8
at runLoaders (/var/www/html/plataforma/wp-content/themes/template-mnm/node_modules/webpack/lib/NormalModule.js:195:19)
at /var/www/html/plataforma/wp-content/themes/template-mnm/node_modules/loader-runner/lib/LoaderRunner.js:364:11
at /var/www/html/plataforma/wp-content/themes/template-mnm/node_modules/loader-runner/lib/LoaderRunner.js:230:18
at context.callback (/var/www/html/plataforma/wp-content/themes/template-mnm/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
at Object.asyncSassJobQueue.push [as callback] (/var/www/html/plataforma/wp-content/themes/template-mnm/node_modules/sass-loader/lib/loader.js:55:13)
at Object. (/var/www/html/plataforma/wp-content/themes/template-mnm/node_modules/async/dist/async.js:2244:31)
at Object.callback (/var/www/html/plataforma/wp-content/themes/template-mnm/node_modules/async/dist/async.js:906:16)
at options.error (/var/www/html/plataforma/wp-content/themes/template-mnm/node_modules/node-sass/lib/index.js:294:32)
I think the encoding of the files have changed, is there a way to correct the problem?
I really apreciate any help, Thanks!
So I've found the answer and I will post it in case anyone has the same problem. The things was one of the scss files imported inside main.scss had the wrong encoding.
Saving the file with the correct encoding solved the problem.

pdf2swf error while upload document file in openmeetings

openmeetings-2.1.1 in my system,i have install ghostscript,ImageMagick-6.8.9 and swftools, when i try to upload document file like .ppt,.doc file, it upload successfully but when i drag to white board it give me error like below.
key: processSWF
process: generateSwf
command; [pdf2swf, -s, insertstop, -s, poly2bitmap, -i, -j, 85, -s, zoom=72,
/home/PROJECTNAME/web/PROJECTNAME/FOLDER/apache-
openmeetings/webapps/openmeetings/upload/files/
be44f8c982e2ca52610b691c3dbda38e/be44f8c982e2c
a52610b691c3dbda38e.pdf,
/home/PROJECTNAME/web/FOLDER/public_html/apache-
openmeetings/webapps/openmeetings/upload/files/
be44f8c982e2ca52610b691c3dbda38e/be44f8c982e2
ca52610b691c3dbda38e.swf]
exception: java.io.IOException: Cannot run program "pdf2swf": error=2, No such file or
directory
error: Cannot run program "pdf2swf": error=2, No such file or directory
exitValue: java.io.IOException: Cannot run program "pdf2swf": error=2, No such file or
directory
i got this error in dialog box.i have Google a lot, kindly help me to figure out this problem.
thank you.
You Have to edit the "swftools_path" in configuration!
If you don't have swftools you should install version 2012-10-15-1307, the newest version doesn't work!

Compile libxml2 on OSX 10.9.5 xcode 6 with error WITH_PYTHON does not appear in AM_CONDITIONAL

Trying to compile compile libxml2 from source on OSX 10.9.5 xcode 6 with tools installed and i keep getting this error:
I have tried installing libxml2 with brew but couldn't get development version.
$ ./autogen.sh
I am going to run ./configure with no arguments - if you wish
to pass any to it, please specify them on the ./autogen.sh command line.
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: You should add the contents of the following files to 'aclocal.m4':
libtoolize: '/opt/lo/share/aclocal/libtool.m4'
libtoolize: '/opt/lo/share/aclocal/ltoptions.m4'
libtoolize: '/opt/lo/share/aclocal/ltsugar.m4'
libtoolize: '/opt/lo/share/aclocal/ltversion.m4'
libtoolize: '/opt/lo/share/aclocal/lt~obsolete.m4'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
acinclude.m4:4: warning: underquoted definition of AC_TRY_EVAL2
acinclude.m4:4: run info Automake 'Extending aclocal'
acinclude.m4:4: or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
configure.in:38: error: automatic de-ANSI-fication support has been removed
/opt/lo/share/aclocal-1.13/obsolete.m4:26: AM_C_PROTOTYPES is expanded from...
configure.in:38: the top level
autom4te: /opt/local/bin/gm4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
configure.in: error: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE,
configure.in: that aclocal.m4 is present in the top-level directory,
configure.in: and that aclocal.m4 was recently regenerated (using aclocal)
Makefile.am:23: error: WITH_TRIO_SOURCES does not appear in AM_CONDITIONAL
Makefile.am:8: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
Makefile.am:18: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:18: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:18: to 'configure.in' and run 'aclocal' and 'autoconf' again.
Makefile.am:18: If 'LT_INIT' is in 'configure.in', make sure
Makefile.am:18: its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
/opt/lo/share/automake-1.13/am/depend2.am: error: am__fastdepCC does not appear in AM_CONDITIONAL
/opt/lo/share/automake-1.13/am/depend2.am: The usual way to define 'am__fastdepCC' is to add 'AC_PROG_CC'
/opt/lo/share/automake-1.13/am/depend2.am: to 'configure.in' and run 'aclocal' and 'autoconf' again
/opt/lo/share/automake-1.13/am/depend2.am: error: AMDEP does not appear in AM_CONDITIONAL
/opt/lo/share/automake-1.13/am/depend2.am: The usual way to define 'AMDEP' is to add one of the compiler tests
/opt/lo/share/automake-1.13/am/depend2.am: AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC, AC_PROG_OBJCXX,
/opt/lo/share/automake-1.13/am/depend2.am: AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC
/opt/lo/share/automake-1.13/am/depend2.am: to 'configure.in' and run 'aclocal' and 'autoconf' again
example/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
python/Makefile.am:28: error: WITH_PYTHON does not appear in AM_CONDITIONAL
python/Makefile.am:6: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
python/Makefile.am:34: error: Libtool library used but 'LIBTOOL' is undefined
python/Makefile.am:34: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
python/Makefile.am:34: to 'configure.in' and run 'aclocal' and 'autoconf' again.
python/Makefile.am:34: If 'LT_INIT' is in 'configure.in', make sure
python/Makefile.am:34: its definition is in aclocal's search path.
python/tests/Makefile.am:41: error: WITH_PYTHON does not appear in AM_CONDITIONAL
./autogen.sh: line 61: ./configure: No such file or directory
Can someone help me please.

drush is not making a sub theme

my command vishal#vishal-linux:~/Dropbox/sites/residen$ drush zen "residen theme" --path=sites/all/themes/
the output :
Source directory /home/vishal/Dropbox/sites/residen//STARTERKIT is not readable or does not exist. [error]
rename(/home/vishal/Dropbox/sites/residen/sites/all/themes/residen_theme/STARTERKIT.info.txt,/home/vishal/Dropbox/sites/residen/sites/all/themes/residen_theme/residen_theme.info):[warning]
No such file or directory drush.inc:798
file_get_contents(/home/vishal/Dropbox/sites/residen/sites/all/themes/residen_theme/residen_theme.info): failed to open stream: No such [warning]
file or directory zen.drush.inc:115
file_put_contents(/home/vishal/Dropbox/sites/residen/sites/all/themes/residen_theme/residen_theme.info): failed to open stream: No such [warning]
file or directory zen.drush.inc:117
file_get_contents(/home/vishal/Dropbox/sites/residen/sites/all/themes/residen_theme/theme-settings.php): failed to open stream: No such [warning]
file or directory zen.drush.inc:115
file_put_contents(/home/vishal/Dropbox/sites/residen/sites/all/themes/residen_theme/theme-settings.php): failed to open stream: No such [warning]
file or directory zen.drush.inc:117
file_get_contents(/home/vishal/Dropbox/sites/residen/sites/all/themes/residen_theme/template.php): failed to open stream: No such file or [warning]
directory zen.drush.inc:115
file_put_contents(/home/vishal/Dropbox/sites/residen/sites/all/themes/residen_theme/template.php): failed to open stream: No such file or [warning]
directory zen.drush.inc:117
Starter kit for "residen theme" created in: /home/vishal/Dropbox/sites/residen/sites/all/themes/residen_theme
however the theme dir was not created. I am not sure what went wrong. I am new to drush and zen. Please advice.
Thank you,
Vishal

Resources