You are not logged in.

#1 2017-09-05 22:30:46

rufflon
Member
From: Sweden
Registered: 2017-09-05
Posts: 3

[SOLVED] Yaourt with downloaded srcfile: File was not found.

Hi,
Summary:
I'm trying to install Mathematica. It works manually but not automatic because file was not found in the build directory.

Content:
I have downloaded the file Mathematica_11.1.1_LINUX.sh to ~/Downloads.
In terminal I typed # yaourt Mathematica - > 28 > Y > vim. Reading instructions in PKGBUILD.
I moved the needed file to /tmp/yaourt-tmp-username/aur-mathematica.
Should work now but fails with the following message:
==> ERROR: Mathematica_11.1.1_LINUX.sh was not found in the build directory and is not a URL.

Somehow I can manually install it with # makepkg -sci in the tmp directory where the PKGBUILD file is.
I think it strange since yaourt also look for the file in that folder?

Last edited by rufflon (2017-09-07 08:29:53)

Offline

#2 2017-09-06 03:05:38

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: [SOLVED] Yaourt with downloaded srcfile: File was not found.

Doesn't yaourt use a default build directory in /tmp?  Maybe you aren't copying the file to the right spot.  Also, how did you get that file?  Mathematica is proprietary and unless you paid for that file it would be illegal to have it.

Edit:  If it works manually, then what exactly is the problem?  Just install the package makepkg created.

Last edited by circleface (2017-09-06 03:15:08)

Offline

#3 2017-09-06 03:21:18

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,791

Re: [SOLVED] Yaourt with downloaded srcfile: File was not found.

Moving to AUR issues


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2017-09-06 10:57:53

rufflon
Member
From: Sweden
Registered: 2017-09-05
Posts: 3

Re: [SOLVED] Yaourt with downloaded srcfile: File was not found.

circleface wrote:

Doesn't yaourt use a default build directory in /tmp?  Maybe you aren't copying the file to the right spot.  Also, how did you get that file?  Mathematica is proprietary and unless you paid for that file it would be illegal to have it.

Edit:  If it works manually, then what exactly is the problem?  Just install the package makepkg created.

File and key downloaded through University.
Yes it does and I move the .sh file where the PKGBUILD is located in the temp directory.
I then try to build Mathematica package again but the file PKGBUILD and the .sh filé disappeared in /tmp/ However if I run makepkg manually before the files disappear it works. I Will investigate further.

Offline

#5 2017-09-06 11:08:30

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] Yaourt with downloaded srcfile: File was not found.

Yaourt clears its build directory every time you start a build, thus deleting the PKGBUILD and .sh file.

If you want this to build using yaourt then you need to wait until the 'Edit PKGBUILD' step before copying over the file and then continuing the build.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#6 2017-09-07 08:28:44

rufflon
Member
From: Sweden
Registered: 2017-09-05
Posts: 3

Re: [SOLVED] Yaourt with downloaded srcfile: File was not found.

Thank you all, it works.
I mark this thread as solved.

Offline

Board footer

Powered by FluxBB