You are not logged in.

#1 2012-12-16 10:11:54

cweks
Member
Registered: 2012-12-16
Posts: 3

makepkg -s ==> ERROR: PKGBUILD does not exist.

[cweks@www cherokee-1.2.101]$ makepkg -s
==> ERROR: PKGBUILD does not exist.

this is for cherokee-1.2.101

I am following instructions from https://wiki.archlinux.org/index.php/AUR

1. Acquire build files

OK -- downloaded cherokee-1.2.101.tar.gz from http://www.cherokee-project.com/downloa … 101.tar.gz -- as per the link from https://aur.archlinux.org/packages/cherokee/


2. Extract the tarball. Change directories to the build directory if not already there and extract the build files.

$ cd /builds
$ tar -xvzf cherokee-1.2.101.tar.gz

This should create a new directory called "cherokee-1.2.101" in the /builds directory. -- OK, it did

3. Warning: Carefully check all files. cd to the newly created directory and carefully check the PKGBUILD and any .install file for malicious commands. --> there is no PKGBUILD subdirectory

$ cd
$ nano PKGBUILD --> there is no PKGBUILD subdirectory
$ nano foo.install --> not sure what to look for -- file cherokee-1.2.101.install ??? there is no file cherokee-1.2.101.install

4. Make the package. After manually confirming the integrity of the files, run makepkg as a normal user in the build directory.
$ makepkg -s
==> ERROR: PKGBUILD does not exist.


ARE THE INSTRUCTIONS ON HOW TO BUILD PACKAGES ON https://wiki.archlinux.org/index.php/AUR CORRECT ?

Offline

#2 2012-12-16 10:21:58

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,794

Re: makepkg -s ==> ERROR: PKGBUILD does not exist.

cweks wrote:

cd to the newly created directory and carefully check the PKGBUILD and any .install file for malicious commands. --> there is no PKGBUILD subdirectory

$ cd
$ nano PKGBUILD --> there is no PKGBUILD subdirectory
$ nano foo.install --> not sure what to look for -- file cherokee-1.2.101.install ??? there is no file cherokee-1.2.101.install

cd alone doesn't take you into the newly created directory, which isn't called PKGBUILD. Do an ls, you should see it, named the same as the package tarball.

Last edited by Scimmia (2012-12-16 10:22:58)

Offline

#3 2012-12-16 10:25:15

Raynman
Member
Registered: 2011-10-22
Posts: 1,074

Re: makepkg -s ==> ERROR: PKGBUILD does not exist.

You only downloaded one of the source files for the package (the most important source file, but still). You need to download the package tarball (under 'Package Actions'). That will contain a PKGBUILD file (not a subdirectory) and possibly an .install file. When you run makepkg in that directory, it will download all source files for you.

Offline

#4 2012-12-16 10:27:43

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 4,794

Re: makepkg -s ==> ERROR: PKGBUILD does not exist.

Raynman, wow, you're right, I completely missed that part.

Offline

#5 2012-12-16 10:29:41

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,837

Re: makepkg -s ==> ERROR: PKGBUILD does not exist.

The AUR wiki was out of date there, I have updated it.

cweks, friendly advice - no matter what goes wrong, it is never OK to shout like that.

Offline

Board footer

Powered by FluxBB