FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 11-07-2009, 08:23 PM
Duboucher Thomas
 
Default luarocks: Misconfiguration in debian/rules

Package: luarocks
Version: 2.0.1-1
Severity: important
Tags: patch


LuaRocks package generate the following directories
/usr/lib/luarocks/bin
/urs/lib/luarocks/rocks

However, it should generate
/usr/local/lib/luarocks/bin
/urs/local/lib/luarocks/rocks

-- System Information:
Debian Release: lenny/sid
APT prefers intrepid-updates
APT policy: (500, 'intrepid-updates'), (500, 'intrepid-security'), (500, 'intrepid')
Architecture: i386 (i686)

Kernel: Linux 2.6.27-14-server (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages luarocks depends on:
ii liblua5.1-0-dev [liblua5 5.1.3-1 Simple, extensible, embeddable pro
ii lua5.1 5.1.3-1 Simple, extensible, embeddable pro
ii wget 1.11.4-1ubuntu1 retrieves files from the web
ii zip 2.32-1 Archiver for .zip files

luarocks recommends no packages.

-- no debconf information
diff -ruN luarocks-2.0.1.orig/debian/rules luarocks-2.0.1/debian/rules
--- luarocks-2.0.1.orig/debian/rules 2009-11-07 21:33:29.000000000 +0100
+++ luarocks-2.0.1/debian/rules 2009-11-07 22:20:02.000000000 +0100
@@ -27,8 +27,8 @@
mkdir -p $(DEB_DESTDIR)/usr/bin/
mkdir -p $(DEB_DESTDIR)/usr/share/lua/5.1/
mkdir -p $(DEB_DESTDIR)/usr/share/doc/luarocks/doc/
- mkdir -p $(DEB_DESTDIR)/usr/lib/luarocks/bin
- mkdir -p $(DEB_DESTDIR)/usr/lib/luarocks/rocks
+ mkdir -p $(DEB_DESTDIR)/usr/local/lib/luarocks/bin
+ mkdir -p $(DEB_DESTDIR)/usr/local/lib/luarocks/rocks
cp -r src/luarocks $(DEB_DESTDIR)/usr/share/lua/5.1/
cp src/bin/* $(DEB_DESTDIR)/usr/bin/
make luadoc
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 01:31 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org