Hi,
I have downloaded the following:
http://slackbuilds.org/slackbuilds/13.3 ... vnc.tar.gz
http://downloads.sourceforge.net/projec ... .12.tar.gz
1. I have extracted the sources to folder x11vnc-0.9.12
2. I have put the script files into the same folder
When I now run the build script x11vnc.SlackBuild I get:
"/bin/bash: ./x11vnc.SlackBuild: /bin/bash^M: bad interpreter: No such file or directory"
What am I doing wrong?
regards,
F.
[Solved] need help to build package
-
- White ninja
- Posts: 14
- Joined: 20 Jul 2011, 18:31
- Location: Germany
[Solved] need help to build package
Last edited by Fistandantilus on 04 Aug 2011, 08:42, edited 1 time in total.
Re: need help to build package
Hello,
To fix the error with bad intrepreter.
Use this command
Here, you need to change the path of the file if you are not in the directory.
Topic Solved?
To fix the error with bad intrepreter.
Use this command
Code: Select all
fromdos ./x11vnc.SlackBuild
Topic Solved?
NjVFQzY2Rg==
-
- White ninja
- Posts: 14
- Joined: 20 Jul 2011, 18:31
- Location: Germany
Re: need help to build package
It did not solve the issue but led me to the real problem - insufficient access rights.
Logging in as root solved it.
Thanks for your help!
Logging in as root solved it.
Thanks for your help!
Re: need help to build package
For me,
Every SlackBuild need to be run from root account or similar account for some reasons:
1) Only the root account has an access to installpkg,removepkg,etc..
2) Only the root account has the perm's to edit or view some files
3) Only the roor account has any restrictions about the access.
Be Aware, If you are using the root account, You must to know what you are doing. This account can break the system!
Cheers!
Every SlackBuild need to be run from root account or similar account for some reasons:
1) Only the root account has an access to installpkg,removepkg,etc..
2) Only the root account has the perm's to edit or view some files
3) Only the roor account has any restrictions about the access.
Be Aware, If you are using the root account, You must to know what you are doing. This account can break the system!
Cheers!
NjVFQzY2Rg==
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: need help to build package
I'll just add that i never unpack the source file. The build script will unpack this into your /tmp folder. Just leave the tarball in the same directory as the build script.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.