Install script fails at step 9

Bug #1302940 reported by Charles Gautier
42
This bug affects 7 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Undecided
Unassigned

Bug Description

Install script fail: Build 2014-04-03 BZR4781

step 9) as non-root, install user configuration files...
make: *** No rule to make target `install_github_fp-lib-table'. Stop.

Kicad works but I can't same footprint libraries, either global or project specific. All entries in the library table don't work. Even attempts at creating a new library from Module editor don't work. Also, all documentation is not available through the help menu.

My system:
Ubuntu:
Release 12.04 (precise) 64-bit
Kernel Linux 3.11.0-19-generic
GNOME 3.4.2

Hardware:
Memory: 2.0 GB
Processor: AMD Athlon(tm) 64 Processor 3200+

System Status
Available disk space: 17.9GB

This was reported on the developper network:

> They tell me that on Linux Mint 12, the current build fails to install
> using the official linux script<http://bazaar.launchpad.net/~kicad-product-committers/kicad/product/view/head:/scripts/kicad-install.sh>on step 9
>
> echo "step 9) as non-root, install user configuration files..."
> # install ~/fp-lib-table
> make install_github_fp-lib-table
> echo " kicad user-configuration files installed."

Revision history for this message
Sebastian Held (sebastian-held) wrote :

change the script:
LIB_REPO=~kicad-product-committers/kicad/library
Seems to work now.

Revision history for this message
Charles Gautier (gautcha) wrote : Re: [Bug 1302940] Re: Install script fails at step 9

Hi Sebastian,

1 hour of compiling, same result:

-- Up-to-date:
/usr/local/share/kicad/template/ti-stellaris-boosterpack40_min/boosterpack40_min.kicad_pcb
  kicad-lib.bzr installed.
step 9) as non-root, install user configuration files...
make: *** No rule to make target `install_github_fp-lib-table'. Stop.

However, there are two directories on my system:

Kicad
kicad_sources

I updated the script file "Kicad/kicad-install.sh",
but not the one in: "kicad_sources/kicad.bzr/scripts/kicad-install.sh"

I ran the script file in "Kicad/kicad-install.sh"

Thanks for your help.

Charles

On 14-04-05 02:14 PM, Sebastian Held wrote:
> change the script:
> LIB_REPO=~kicad-product-committers/kicad/library
> Seems to work now.
>

Revision history for this message
Fabrizio Tappero (zonkyu) wrote :

Few more users have reported the same problem.

Revision history for this message
Fabrizio Tappero (zonkyu) wrote :

More info on step 9 lib problem and more

The footprint issue is my main problem, I thought that it could be related with the step 9 error. When I open CvPcv for the first time (after generating a netlist), I get the error:

No PCB footprint libraries are listed in the current footprint library table.

And I don't see any footprint.

I have installed again from scratch kicad to try to execute Pcbnew and see if is downloading footprints but if it does, I can't see it. I have also tried with CvPcv.

In summary, I have tried:

On linux mint 12
Using the ubuntu ppa (no way, the ubuntu which is based this linux mint is too old)
Using the linux install script -> step 9 and footprint issue
Building manually following this instructions -> It crashes when running the bzr command to download the libraries (and then i have the footprint issue):
$ bzr checkout lp:~kicad-lib-committers/kicad/library kicad-library.bzr
You have not informed bzr of your Launchpad ID, and you must do this to write to Launchpad or access private data.  See "bzr help launchpad-login".
bzr: ERROR: Invalid url supplied to transport: "bzr+ssh://bazaar.launchpad.net/~kicad-lib-committers/kicad/library": no supported schemes
Binaries linux mint 2013 -> incompatible with my actual libc
Binaries linux mint 2012 -> work ok till now
Installing from my linux mint repos -> works ok but is the 2010 version.
On linux mint 16 live cd
using the ppa -> footprint issue
Installing from repos -> works ok, 2012 version

Revision history for this message
jean-pierre charras (jp-charras) wrote :

lp:~kicad-lib-committers/kicad/library does not exist.
Clearly, you are using an old and outdated script.

Revision history for this message
Nick Østergaard (nickoe) wrote :
Revision history for this message
Muesli_Reep (project-bravo) wrote :

I experienced the exact same thing running Mint 16.

I deleted the "kicad-sources" folder and per Sebastian Held's advice changed:
LIB_REPO=~kicad-product-committers/kicad/library

Now it works for me.

Revision history for this message
Charles Gautier (gautcha) wrote :

Ok, thanks. I will try that.

On 14-04-06 10:56 AM, Muesli_Reep wrote:
> I experienced the exact same thing running Mint 16.
>
> I deleted the "kicad-sources" folder and per Sebastian Held's advice changed:
> LIB_REPO=~kicad-product-committers/kicad/library
>
> Now it works for me.
>

Revision history for this message
Dick Hollenbeck (dickelbeck) wrote :

As of an hour ago, what was

   kicad-install-no_launchpad_account.sh

is now

   kicad-install.sh

and it should be fixed now.

Revision history for this message
Charles Gautier (gautcha) wrote :

Thank you all for your help. Script runs to the end now.

What I had to do:

1) Delete the whole /kicad_sources directory
2) Go on code.launchpad.net and identify where to download the latest
kicad-install.sh executable updated by Dick Hollenbeck. Could not find a
place to download this specific version.
3) Open terminal and issue command: bzr branch lp:kicad. This
downloaded the whole source code.
4) Went into the source code and copied
/kicad_sources/kicad.bzr/scripts/kicad-install.sh into a separate
directory /Kicad
5) Go back in terminal and issue command "kicad-install.sh
--install-or-update"
6) Finally, script executed with no errors.

However:

a) Documentation still not accessible through help menu
b) Still can't create library

Regards.

On 14-04-06 03:14 PM, Dick Hollenbeck wrote:
> As of an hour ago, what was
>
> kicad-install-no_launchpad_account.sh
>
> is now
>
> kicad-install.sh
>
> and it should be fixed now.
>

Revision history for this message
Nick Østergaard (nickoe) wrote :

So I guess we can mark this is fixed. I mark it as such, if anyone do not agree, then just mark it so.

Changed in kicad:
status: New → Fix Committed
Jon Neal (reportingsjr)
Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.