Dear all,
I started working with geany a few days ago. Target was to have a good editor for "R" that can be enhanced to be a small IDE (Tried to achieve that also with eclipse/statet, wine/tinn-r, bluefish, all failed for different reasons). As "R" can be started in the integrated terminal the only task remaining is to be able to copy some pieces of texts down into the terminal (in a semi-automated way). I wanted to make use of LUA for that but was not able to install it.
My system environment: Ubuntu 8.10 Geany 0.15 (downloaded from http://www.getdeb.net as recommended) and installed without issues using gdebi. I downloaded: http://download.geany.org/contrib/geanylua-0.7.0_patched.tar.gz (for geany 0.14 only - I know - but I would like to make use of "R" syntax highlighting in 0.15) Hardware: Dell inspiron 6400 notebook
First finding: The directory /home/user/.geany was created but not the subdirectory /home/user/.geany/plugins as described in the installation guide of geanylua.
I tried to get something precompiled for geanylua but failed installing it. Then I tried the scripts install-sh and install.sh but both asked me for directories/files unknown to me. Then I tried to run ./configure, make, make install but failed using ./configure. Error displayed:
----- checking how to hardcode library paths into programs... immediate checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GEANY... yes checking for lua5.1.pc... no checking for lua51.pc... no checking for lua-5.1.pc... no checking for lua.pc... no checking for LUA... configure: error: Package requirements (lua5.1 >= 5.1.2) were not met:
No package 'lua5.1' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Alternatively, you may set the environment variables LUA_CFLAGS and LUA_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. -----
I installed the package lua5.1 via synaptic (installs version 5.1.3-1 so should work) and restartet ./config but failed again with the same error message.
Any ideas, experiences how to proceed here? (Or will geanylua be integrated into one of the next releases of geany so that it will be installed automatically?)
Thank you very much in advance!
Btw: geany looks a lot better than eclipse, bluefish, ... - good work!
Kai
On Sun, 4 Jan 2009 22:03:47 +0000 (GMT), "Radde, Kai-Uwe" kaiuweradde@yahoo.de wrote:
Hi,
checking for LUA... configure: error: Package requirements (lua5.1 >= 5.1.2) were not met:
No package 'lua5.1' found [...] I installed the package lua5.1 via synaptic (installs version 5.1.3-1
You also need to install the development files. On Debian, the package is called 'liblua5.1-0-dev', I guess it's named similar on Ubuntu. After installing this package, configure should work but you probably run into compilation errors because the downloaded tarball is only for Geany 0.14 and so won't work with Geany 0.15.
To work around this, you can download the SVN version of the code which could/should work with Geany 0.15 (not sure right now). To do so, run (you need the subversion package for this): svn checkout -r177 https://geany-plugins.svn.sf.net/svnroot/geany-plugins/trunk/geanylua
Then run ./configure && make && make install again.
Sorry for all the inconvience. We'll try to make this easier in the future.
Regards, Enrico