![]() |
2009-06-30
, 22:41
|
|
Posts: 903 |
Thanked: 632 times |
Joined on Apr 2008
|
#2
|
![]() |
2009-06-30
, 22:46
|
|
Posts: 315 |
Thanked: 71 times |
Joined on Oct 2008
@ €@$T Montreal Quebec Canada
|
#3
|
#!/usr/bin/make -f # Sample debian/rules that uses debhelper. # This file is public domain software, originally written by Joey Hess. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 build: build-stamp build-stamp: dh_testdir touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp rm -f debian/preinst rm -f debian/postinst rm -f debian/postrm dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs # Add here commands to install the package into debian/<packagename> #$(MAKE) prefix=`pwd`/debian/`dh_listpackages`/usr install cp -r $(CURDIR)/data/usr $(CURDIR)/debian/borg-startup/usr $(CURDIR)/gen_control_scripts.sh # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installchangelogs dh_fixperms dh_installdeb dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install
![]() |
2009-06-30
, 22:50
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#4
|
![]() |
2009-06-30
, 22:54
|
|
Posts: 315 |
Thanked: 71 times |
Joined on Oct 2008
@ €@$T Montreal Quebec Canada
|
#5
|
![]() |
2009-06-30
, 23:40
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#6
|
The Following User Says Thank You to javispedro For This Useful Post: | ||
![]() |
2009-06-30
, 23:55
|
Posts: 2,802 |
Thanked: 4,491 times |
Joined on Nov 2007
|
#7
|
i got root@ubuntu:/mnt/C/foldersource#
here my rule file
Code:#!/usr/bin/make -f [...]
![]() |
2009-07-01
, 00:00
|
|
Posts: 315 |
Thanked: 71 times |
Joined on Oct 2008
@ €@$T Montreal Quebec Canada
|
#8
|
Is that mounted noexec by any chance? What does "grep /mnt/C /proc/mounts" say?
cofs1 /mnt/C cofs rw,nosuid,nodev,noexec 0 0
Ehm, why are you invoking fakeroot when you are already running as root in the first place?
Just checking, just /usr/bin/make (still) exist? What happens if you try "/usr/bin/make -f debian/rules clean" instead?
root@ubuntu:/mnt/C/sourcefolder# /usr/bin/make -f debian/rules clean dh_testdir dh_testroot rm -f build-stamp rm -f debian/preinst rm -f debian/postinst rm -f debian/postrm dh_clean
root@ubuntu:/mnt/C/sourcefolder# dpkg-buildpackage -tc
dpkg-buildpackage: set CPPFLAGS to default value: dpkg-buildpackage: set CFLAGS to default value: -g -O2 dpkg-buildpackage: set CXXFLAGS to default value: -g -O2 dpkg-buildpackage: set FFLAGS to default value: -g -O2 dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions dpkg-buildpackage: source package vista-startup dpkg-buildpackage: source version 5.0 dpkg-buildpackage: source changed by Eric King <labaudio_f@hotmail.com> dpkg-buildpackage: host architecture i386 debian/rules clean Can't exec "debian/rules": Permission denied at /usr/bin/dpkg-buildpackage line 477. dpkg-buildpackage: failure: debian/rules clean failed with unknown exit code -1
474sub withecho { 475 shift while !$_[0]; 476 print STDERR " @_\n"; 477 system(@_) 478 and subprocerr("@_"); 479}
![]() |
2009-07-01
, 00:15
|
|
Posts: 2,355 |
Thanked: 5,249 times |
Joined on Jan 2009
@ Barcelona
|
#9
|
![]() |
2009-07-01
, 00:20
|
|
Posts: 315 |
Thanked: 71 times |
Joined on Oct 2008
@ €@$T Montreal Quebec Canada
|
#10
|
Please try to follow our instructions more carefully. You forgot both lma's "What does "grep /mnt/C /proc/mounts" say?" and mine's "Why you don't try running "debian/rules clean"".
Is /mnt/C a FAT or NTFS filesystem? You should not try to compile anything at all from a FAT filesystem unless you know what you're doing.
Code:root@ubuntu:/mnt/C/sourcefolder# /usr/bin/make -f debian/rules clean dh_testdir dh_testroot rm -f build-stamp rm -f debian/preinst rm -f debian/postinst rm -f debian/postrm dh_clean
Code:cofs1 /mnt/C cofs rw,nosuid,nodev,noexec 0 0
TX
N900 Owner
Fremantle Tester
Diablo Dacker
French Noob
BorgTheme ¤ BorgSounds ¤ BorgStartUp ¤ BorgClock