You are not logged in.

#1 2008-10-31 12:24:15

mentallaxative
Member
From: Australia
Registered: 2008-07-14
Posts: 134
Website

[SOLVED] A simple .bashrc setting messes up makepkg

I was looking for tips on using the terminal when I found one where you could quickly access subdirectories in a folder by specifying "export CDPATH=/home/folder" in .bashrc.

Unfortunately, as I've just recently found out, this also causes makepkg to fail. You get something like this:

configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/config.hpp
config.status: executing depfiles commands
Making all in src
/bin/sh: line 17: cd: src: No such file or directory
make: *** [all-recursive] Error 1
==> ERROR: Build Failed.
Aborting...

I added it to the wiki earlier, and I have just removed it.

Last edited by mentallaxative (2008-10-31 13:26:20)

Offline

#2 2008-10-31 12:42:44

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: [SOLVED] A simple .bashrc setting messes up makepkg

what package causes this?

Offline

#3 2008-10-31 12:53:50

mentallaxative
Member
From: Australia
Registered: 2008-07-14
Posts: 134
Website

Re: [SOLVED] A simple .bashrc setting messes up makepkg

I first had that error with apvlv. I thought there was something wrong with that package only, and then I tried gnaural2. That coughed up the same error, so I got suspicious, removed the setting, and both packages compiled without problems.

Offline

#4 2008-10-31 13:00:15

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: [SOLVED] A simple .bashrc setting messes up makepkg

can you please file a bug report in the pacman section.  This does not seem a good thing...

Offline

#5 2008-10-31 13:10:08

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: [SOLVED] A simple .bashrc setting messes up makepkg

On second thoughts, this seems to be a problem with the Makefile

You probably want "export CDPATH=.:/home/folder" anyway

Offline

#6 2008-10-31 13:25:37

mentallaxative
Member
From: Australia
Registered: 2008-07-14
Posts: 134
Website

Re: [SOLVED] A simple .bashrc setting messes up makepkg

Thanks Allan. Adding in .: fixes the problem.

And I had just signed up to the bugtracker too....

Offline

Board footer

Powered by FluxBB