Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 36

Thread: HOWTO: Piklab in Ubuntu - an easy way

  1. #21
    Join Date
    Sep 2007
    Location
    Colorado
    Beans
    18
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: Piklab in Ubuntu - an easy way

    Ok I got past that. The libpcre stuff was linked to a non existent file. So I am past that now.
    Now I get :

    piklab: error while loading shared libraries: libpng.so.3: cannot open shared object file: No such file or directory

    So What package does libpng reside in?

  2. #22
    Join Date
    Sep 2007
    Location
    Colorado
    Beans
    18
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: Piklab in Ubuntu - an easy way

    Never mind. I found it, and all is well now, except that I can't set the programmer. But I'll look into that later.

  3. #23
    Join Date
    Nov 2007
    Beans
    4

    Talking Re: HOWTO: Piklab in Ubuntu - an easy way

    thanks.
    well done!!

  4. #24
    Join Date
    Feb 2008
    Beans
    2

    Re: HOWTO: Piklab in Ubuntu - an easy way

    Thanks for the helpful post. Since I am using a newer version of Ubuntu, I had to figure out how to link the newer files properly. This is what I had to do, in case another newbie comes along.

    I had gotten to the point of running piklab, when I got an error message that I didn't record. I think it was something like 'can't find libpcreposix' I fixed it with this:

    sudo apt-get install libpcreposix

    I tried running piklab again and got this:

    error while loading shared libraries: libpcre.so.0: cannot open
    shared object file: No such file or directory

    and fixed it with this:

    sudo ln -s /usr/lib/libpcre.so.3.12.1 /usr/lib/libpcre.so.0

    another try yielded this:

    error while loading shared libraries: libpng.so.3: cannot open
    shared object file: No such file or directory

    this was fixed with this:

    sudo ln -s /usr/lib/libpng12.so.0.15.0 /usr/lib/libpng.so.3

    Now it works fine. Here is what I understand is going on (and should help future users if true). There are library files in /usr/lib/ used for many different programs. They are regularly updated, with revision numbers increasing at the end of file names. When piklab was last put together, it was told to look for an older version of the file. The ln -s [new file] [shortcut] allows the program to find the updated file. To do this properly, you need the file it is looking for in the error message, and the name of the new file ( cd /usr/lib then ls -m)

    It is probably better to check first to see what version you have, because I tried to link to an older one than I had, and had to delete it (sudo rm BADSHORTCUT) before making the proper link)

  5. #25
    Join Date
    Dec 2007
    Beans
    6

    Re: HOWTO: Piklab in Ubuntu - an easy way

    Hi guys. If you have problems with your USB programmers, you probably don't have priviliges to write data to USB port. The easiest way is to add your user name to "root" group.

    In my case I had to change line:
    Code:
    root:x:0:
    to:
    Code:
    root:x:0:direk
    in file /etc/group

    and i can use my USB stuff with piklab

  6. #26
    Join Date
    Mar 2008
    Beans
    1

    Re: HOWTO: Piklab in Ubuntu - an easy way

    Who is using Intrepid may face additional problems:

    Problem:
    Code:
    piklab: error while loading shared libraries: libldap-2.3.so.0: cannot open shared object file: No such file or directory
    Solutions:
    Code:
    sudo ln -s /usr/lib/libldap-2.4.so.2 /usr/lib/libldap-2.3.so.0
    Problem:
    Code:
    piklab: error while loading shared libraries: liblber-2.3.so.0: cannot open shared object file: No such file or directory
    Solution:
    Code:
    sudo ln -s /usr/lib/liblber-2.4.so.2 /usr/lib/liblber-2.3.so.0

    And also you need to install "konsole":

    Code:
    sudo apt-get install konsole
    P.S also I have problem with libpcre3 package, it didn't have needed libs. So in case you have to reinstall libpcre:

    Code:
    sudo aptitude reinstall libpcre3
    I hope this will help

  7. #27
    Join Date
    Feb 2009
    Beans
    3

    Re: HOWTO: Piklab in Ubuntu - an easy way

    Hello
    I realize this is old post but I got a question about hotplug, and was hoping that some one could help.
    I am trying to set up a pickit 2 and use piklab for it also..
    I have ubuntu 8.10 installed (nice)
    But all the info I have read refer to the hotplug being in the etc dir. I did a locate and I have hotplug listed in several different dirs but not in the etc dir. Is there something wrong with my install? or Can I fix this?
    thanks for any info
    gogo

    gogo@gogo-desktop:/$ cd etc
    gogo@gogo-desktop:/etc$ locate hotplug
    /lib/modules/2.6.27-11-generic/kernel/drivers/pci/hotplug
    /lib/modules/2.6.27-11-generic/kernel/drivers/pci/hotplug/acpiphp.ko
    /lib/modules/2.6.27-11-generic/kernel/drivers/pci/hotplug/acpiphp_ibm.ko
    /lib/modules/2.6.27-11-generic/kernel/drivers/pci/hotplug/cpcihp_generic.ko
    /lib/modules/2.6.27-11-generic/kernel/drivers/pci/hotplug/cpcihp_zt5550.ko
    /lib/modules/2.6.27-11-generic/kernel/drivers/pci/hotplug/cpqphp.ko
    /lib/modules/2.6.27-11-generic/kernel/drivers/pci/hotplug/fakephp.ko
    /lib/modules/2.6.27-11-generic/kernel/drivers/pci/hotplug/ibmphp.ko
    /lib/modules/2.6.27-11-generic/kernel/drivers/pci/hotplug/pci_hotplug.ko
    /lib/modules/2.6.27-11-generic/kernel/drivers/pci/hotplug/pciehp.ko
    /lib/modules/2.6.27-11-generic/kernel/drivers/pci/hotplug/shpchp.ko
    /lib/modules/2.6.27-7-generic/kernel/drivers/pci/hotplug
    /lib/modules/2.6.27-7-generic/kernel/drivers/pci/hotplug/acpiphp.ko
    /lib/modules/2.6.27-7-generic/kernel/drivers/pci/hotplug/acpiphp_ibm.ko
    /lib/modules/2.6.27-7-generic/kernel/drivers/pci/hotplug/cpcihp_generic.ko
    /lib/modules/2.6.27-7-generic/kernel/drivers/pci/hotplug/cpcihp_zt5550.ko
    /lib/modules/2.6.27-7-generic/kernel/drivers/pci/hotplug/cpqphp.ko
    /lib/modules/2.6.27-7-generic/kernel/drivers/pci/hotplug/fakephp.ko
    /lib/modules/2.6.27-7-generic/kernel/drivers/pci/hotplug/ibmphp.ko
    /lib/modules/2.6.27-7-generic/kernel/drivers/pci/hotplug/pci_hotplug.ko
    /lib/modules/2.6.27-7-generic/kernel/drivers/pci/hotplug/pciehp.ko
    /lib/modules/2.6.27-7-generic/kernel/drivers/pci/hotplug/shpchp.ko
    /usr/share/doc/libgphoto2-2/linux-hotplug
    /usr/share/doc/libgphoto2-2/linux-hotplug/usbcam.console
    /usr/share/doc/libgphoto2-2/linux-hotplug/usbcam.group
    /usr/share/doc/libgphoto2-2/linux-hotplug/usbcam.user
    /usr/share/doc/libgphoto2-2/linux-hotplug/usbcam.x11-app
    /usr/share/ifupdown/upgrade-from-hotplug.pl
    /usr/src/linux-headers-2.6.27-11/drivers/pci/hotplug
    /usr/src/linux-headers-2.6.27-11/drivers/pci/hotplug/Kconfig
    /usr/src/linux-headers-2.6.27-11/drivers/pci/hotplug/Makefile
    /usr/src/linux-headers-2.6.27-11/include/linux/memory_hotplug.h
    /usr/src/linux-headers-2.6.27-11/include/linux/pci_hotplug.h
    /usr/src/linux-headers-2.6.27-11-generic/include/config/hotplug
    /usr/src/linux-headers-2.6.27-11-generic/include/config/hotplug.h
    /usr/src/linux-headers-2.6.27-11-generic/include/config/acpi/hotplug
    /usr/src/linux-headers-2.6.27-11-generic/include/config/acpi/hotplug/cpu.h
    /usr/src/linux-headers-2.6.27-11-generic/include/config/arch/enable/memory/hotplug.h
    /usr/src/linux-headers-2.6.27-11-generic/include/config/hotplug/cpu.h
    /usr/src/linux-headers-2.6.27-11-generic/include/config/hotplug/pci
    /usr/src/linux-headers-2.6.27-11-generic/include/config/hotplug/pci.h
    /usr/src/linux-headers-2.6.27-11-generic/include/config/hotplug/pci/acpi
    /usr/src/linux-headers-2.6.27-11-generic/include/config/hotplug/pci/acpi.h
    /usr/src/linux-headers-2.6.27-11-generic/include/config/hotplug/pci/compaq
    /usr/src/linux-headers-2.6.27-11-generic/include/config/hotplug/pci/compaq.h
    /usr/src/linux-headers-2.6.27-11-generic/include/config/hotplug/pci/cpci
    /usr/src/linux-headers-2.6.27-11-generic/include/config/hotplug/pci/cpci.h
    /usr/src/linux-headers-2.6.27-11-generic/include/config/hotplug/pci/fake.h
    /usr/src/linux-headers-2.6.27-11-generic/include/config/hotplug/pci/ibm.h
    /usr/src/linux-headers-2.6.27-11-generic/include/config/hotplug/pci/pcie.h
    /usr/src/linux-headers-2.6.27-11-generic/include/config/hotplug/pci/shpc.h
    /usr/src/linux-headers-2.6.27-11-generic/include/config/hotplug/pci/acpi/ibm.h
    /usr/src/linux-headers-2.6.27-11-generic/include/config/hotplug/pci/compaq/nvram.h
    /usr/src/linux-headers-2.6.27-11-generic/include/config/hotplug/pci/cpci/generic.h
    /usr/src/linux-headers-2.6.27-11-generic/include/config/hotplug/pci/cpci/zt5550.h
    /usr/src/linux-headers-2.6.27-11-generic/include/linux/memory_hotplug.h
    /usr/src/linux-headers-2.6.27-11-generic/include/linux/pci_hotplug.h
    /usr/src/linux-headers-2.6.27-7/drivers/pci/hotplug
    /usr/src/linux-headers-2.6.27-7/drivers/pci/hotplug/Kconfig
    /usr/src/linux-headers-2.6.27-7/drivers/pci/hotplug/Makefile
    /usr/src/linux-headers-2.6.27-7/include/linux/memory_hotplug.h
    /usr/src/linux-headers-2.6.27-7/include/linux/pci_hotplug.h
    /usr/src/linux-headers-2.6.27-7-generic/include/config/hotplug
    /usr/src/linux-headers-2.6.27-7-generic/include/config/hotplug.h
    /usr/src/linux-headers-2.6.27-7-generic/include/config/acpi/hotplug
    /usr/src/linux-headers-2.6.27-7-generic/include/config/acpi/hotplug/cpu.h
    /usr/src/linux-headers-2.6.27-7-generic/include/config/arch/enable/memory/hotplug.h
    /usr/src/linux-headers-2.6.27-7-generic/include/config/hotplug/cpu.h
    /usr/src/linux-headers-2.6.27-7-generic/include/config/hotplug/pci
    /usr/src/linux-headers-2.6.27-7-generic/include/config/hotplug/pci.h
    /usr/src/linux-headers-2.6.27-7-generic/include/config/hotplug/pci/acpi
    /usr/src/linux-headers-2.6.27-7-generic/include/config/hotplug/pci/acpi.h
    /usr/src/linux-headers-2.6.27-7-generic/include/config/hotplug/pci/compaq
    /usr/src/linux-headers-2.6.27-7-generic/include/config/hotplug/pci/compaq.h
    /usr/src/linux-headers-2.6.27-7-generic/include/config/hotplug/pci/cpci
    /usr/src/linux-headers-2.6.27-7-generic/include/config/hotplug/pci/cpci.h
    /usr/src/linux-headers-2.6.27-7-generic/include/config/hotplug/pci/fake.h
    /usr/src/linux-headers-2.6.27-7-generic/include/config/hotplug/pci/ibm.h
    /usr/src/linux-headers-2.6.27-7-generic/include/config/hotplug/pci/pcie.h
    /usr/src/linux-headers-2.6.27-7-generic/include/config/hotplug/pci/shpc.h
    /usr/src/linux-headers-2.6.27-7-generic/include/config/hotplug/pci/acpi/ibm.h
    /usr/src/linux-headers-2.6.27-7-generic/include/config/hotplug/pci/compaq/nvram.h
    /usr/src/linux-headers-2.6.27-7-generic/include/config/hotplug/pci/cpci/generic.h
    /usr/src/linux-headers-2.6.27-7-generic/include/config/hotplug/pci/cpci/zt5550.h
    /usr/src/linux-headers-2.6.27-7-generic/include/linux/memory_hotplug.h
    /usr/src/linux-headers-2.6.27-7-generic/include/linux/pci_hotplug.h
    gogo@gogo-desktop:/etc$

    See what I mean.
    I did a ls in the etc dir and it showed a lot of files but no hotplug.
    gogo

  8. #28
    Join Date
    May 2009
    Beans
    2

    Re: HOWTO: Piklab in Ubuntu - an easy way

    hello? does the piklab have a stopwatch function like mplab ide to measure the time delay in the execution of commands when gpsim is the debugger? if yes where please?

    thankyou
    anshul

  9. #29
    Join Date
    May 2009
    Beans
    2

    Re: HOWTO: Piklab in Ubuntu - an easy way

    would be appreciated if any one could suggest any other means to do so?

  10. #30
    Join Date
    Oct 2010
    Location
    Slovenia
    Beans
    1
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Piklab in Ubuntu - an easy way

    I installed piklab on Ubuntu just with sudo apt-get install piklab ..
    It works perfect..
    for now

Page 3 of 4 FirstFirst 1234 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •