sudo apt-get install NuScratch fails in 2017-09-07-raspbian-stretch-lite

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
20 messages Options
Reply | Threaded
Open this post in threaded view
|

sudo apt-get install NuScratch fails in 2017-09-07-raspbian-stretch-lite

Louis LaBrunda
Hi,

This:

sudo apt-get install NuScratch

now fails in 2017-09-07-raspbian-stretch-lite with: Unable to locate package NuScratch.

it worked with jessie lite.

Please help?

Lou
--
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon


Reply | Threaded
Open this post in threaded view
|

sudo apt-get install NuScratch fails in 2017-09-07-raspbian-stretch-lite

Louis LaBrunda
Hi Again,

I tried:
sudo apt-get install scratch2
that seems to find what it is looking for but I'm not sure it is what I should install and my
code fails calling: GPIOAccessorPiGpio uniqueInstance with an externalCallFailed in
PigpiodInterface.

Am I installing the right thing?  Is something missing?  With jessie, pigpio and NuScratch,
everything worked.

Lou

>Hi,
>This:
>sudo apt-get install NuScratch
>now fails in 2017-09-07-raspbian-stretch-lite with: Unable to locate package NuScratch.
>it worked with jessie lite.
>Please help?
>Lou
--
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon


Reply | Threaded
Open this post in threaded view
|

Re: sudo apt-get install NuScratch fails in 2017-09-07-raspbian-stretch-lite

Jecel Assumpcao Jr
Louis LaBrunda wrote:
> I tried:
> sudo apt-get install scratch2
> that seems to find what it is looking for but I'm not sure it is what I should install and my
> code fails calling: GPIOAccessorPiGpio uniqueInstance with an externalCallFailed in
> PigpiodInterface.
>
> Am I installing the right thing?  Is something missing?  With jessie, pigpio and NuScratch,
> everything worked.

Scratch 2 is a different program written in Flash. And Scratch 3 will be
yet another program written in Javascript. But each version is supposed
to be able to load projects created by earlier versions, so these
changes shouldn't be too obvious to users. Unfortunately if you use
extensions then the difference will be very visible to you.

Note that the Raspberry Pi foundation has decided to move to Scratch 3,
so I would expect future versions of Raspbian to not include the Squeak
based Scratch.

-- Jecel

Reply | Threaded
Open this post in threaded view
|

sudo apt-get install NuScratch fails in 2017-09-07-raspbian-stretch-lite

Louis LaBrunda
Hi Jecel,

Thanks for the reply.  I have a Squeak/Seaside program that controls the GPIO pins.  Pre
raspbian stretch Squeak was present and I would install NuScratch to get some GPIO interface
code.  Now I install Squeak myself but I'm missing some GPIO stuff.  I'm not sure what I have
to load/install to get it.  I didn't realize what scratch2 was but hoped it was the NuScratch
stuff by a different name.

If Tim Rowledge is reading this, are you going to keep supporting your Squeak/Scratch code and
if so do you know what I need to get the GPIO stuff working?

Lou


On Fri, 20 Oct 2017 18:00:15 -0300, "Jecel Assumpcao Jr." <[hidden email]> wrote:

>Louis LaBrunda wrote:
>> I tried:
>> sudo apt-get install scratch2
>> that seems to find what it is looking for but I'm not sure it is what I should install and my
>> code fails calling: GPIOAccessorPiGpio uniqueInstance with an externalCallFailed in
>> PigpiodInterface.
>>
>> Am I installing the right thing?  Is something missing?  With jessie, pigpio and NuScratch,
>> everything worked.
>
>Scratch 2 is a different program written in Flash. And Scratch 3 will be
>yet another program written in Javascript. But each version is supposed
>to be able to load projects created by earlier versions, so these
>changes shouldn't be too obvious to users. Unfortunately if you use
>extensions then the difference will be very visible to you.
>
>Note that the Raspberry Pi foundation has decided to move to Scratch 3,
>so I would expect future versions of Raspbian to not include the Squeak
>based Scratch.
>
>-- Jecel
>
--
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon


Reply | Threaded
Open this post in threaded view
|

Re: sudo apt-get install NuScratch fails in 2017-09-07-raspbian-stretch-lite

timrowledge
In reply to this post by Louis LaBrunda

> On 20-10-2017, at 11:11 AM, Louis LaBrunda <[hidden email]> wrote:
>
> Hi,
>
> This:
>
> sudo apt-get install NuScratch
>
> now fails in 2017-09-07-raspbian-stretch-lite with: Unable to locate package NuScratch.
lowercase, I think



tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Oxymorons: Sanitary landfill



Reply | Threaded
Open this post in threaded view
|

Re: sudo apt-get install NuScratch fails in 2017-09-07-raspbian-stretch-lite

timrowledge

> On 20-10-2017, at 3:08 PM, tim Rowledge <[hidden email]> wrote:
>> now fails in 2017-09-07-raspbian-stretch-lite with: Unable to locate package NuScratch.
> lowercase, I think

yup, all lowercase. It’s available at http://archive.raspberrypi.org/debian/pool/main/n/nuscratch/nuscratch_20170112_armhf.deb if you really have trouble.

I suspect it will stay in Raspbian for a while yet. Not everyone likes Scratch2.

tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Useful random insult:- Not much to show for four billion years of evolution.



Reply | Threaded
Open this post in threaded view
|

sudo apt-get install NuScratch fails in 2017-09-07-raspbian-stretch-lite - SqueakDebug.log (0/1)

Louis LaBrunda
Hi Tim,

Thanks, nuscratch installed okay, I think.  But I still have the same failure.

I have attached the SqueakDebug log, if you have a minute can you please take a look.


I found this list of packages and loaded what seems to be appropriate and nuscratch but still
no joy.

https://n8henrie.com/2017/09/list-of-default-packages-on-raspbian-stretch-and-stretch-lite/

Is there anything I have missed?

I am working on this on a Raspberry Pi Zero W.  I had things working with a version of Raspbian
Jessie that I got from adafruit.com.  Are there different GPIO drivers?

I see you are pointing me to a different site.  I'm not sure how to load/install it from there
but will give it a try.

Lou

On Fri, 20 Oct 2017 15:28:26 -0700, tim Rowledge <[hidden email]> wrote:
>> On 20-10-2017, at 3:08 PM, tim Rowledge <[hidden email]> wrote:
>>> now fails in 2017-09-07-raspbian-stretch-lite with: Unable to locate package NuScratch.
>> lowercase, I think

>yup, all lowercase. It’s available at http://archive.raspberrypi.org/debian/pool/main/n/nuscratch/nuscratch_20170112_armhf.deb if you really have trouble.
>I suspect it will stay in Raspbian for a while yet. Not everyone likes Scratch2.
>tim
--
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon


Reply | Threaded
Open this post in threaded view
|

sudo apt-get install NuScratch fails in 2017-09-07-raspbian-stretch-lite - SqueakDebug.log (1/1)

Louis LaBrunda
In reply to this post by timrowledge

begin 644 SqueakDebug.log
M5V%R;FEN9PTR,2!/8W1O8F5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R93X^;F5W4')O8V5S<PUA
`
end


Reply | Threaded
Open this post in threaded view
|

sudo apt-get install NuScratch fails in 2017-09-07-raspbian-stretch-lite

Louis LaBrunda
In reply to this post by timrowledge
Hi Tim,

I installed the file from the link you gave me but still no luck.  I see the SqueakDebug log
attachment doesn't look very good so below are parts of it.  I still think I'm missing
something, drivers, an interface, something?

Warning
21 October 2017 12:04:08.215332 pm

VM: unix - Smalltalk
Image: Squeak5.1 [latest update: #16548]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir /RasRelay
Trusted Dir /RasRelay/secure
Untrusted Dir /RasRelay/My Squeak

PigpiodInterface>>externalCallFailed
        Receiver: a PigpiodInterface
        Arguments and temporary variables:

        Receiver's instance variables:
                id: nil
                currentWaveID: nil
                currentWavePin: nil
                currentWaveFrequency: nil

PigpiodInterface>>pigpioStartIP:port:
        Receiver: a PigpiodInterface
        Arguments and temporary variables:
                t1: nil
                t2: nil
        Receiver's instance variables:
                id: nil
                currentWaveID: nil
                currentWavePin: nil
                currentWaveFrequency: nil

PigpiodInterface>>pigpioStart
        Receiver: a PigpiodInterface
        Arguments and temporary variables:

        Receiver's instance variables:
                id: nil
                currentWaveID: nil
                currentWavePin: nil
                currentWaveFrequency: nil

PigpiodInterface>>ensureStarted
        Receiver: a PigpiodInterface
        Arguments and temporary variables:

        Receiver's instance variables:
                id: nil
                currentWaveID: nil
                currentWavePin: nil
                currentWaveFrequency: nil

GPIOAccessorPiGpio>>initialize
        Receiver: a GPIOAccessorPiGpio
        Arguments and temporary variables:

        Receiver's instance variables:
                library: a PigpiodInterface

GPIOAccessorPiGpio class(Behavior)>>new
        Receiver: GPIOAccessorPiGpio
        Arguments and temporary variables:

        Receiver's instance variables:
                superclass: GPIOAccessor
                methodDict: a MethodDictionary(#ensureStopped->(GPIOAccessorPiGpio>>#ensureStop...etc...
                format: 65537
                instanceVariables: #('library')
                organization: ('initialize-release' ensureStopped initialize)
('pin read/write'...etc...
                subclasses: nil
                name: #GPIOAccessorPiGpio
                classPool: nil
                sharedPools: an OrderedCollection(PiGPIOConstants)
                environment: Smalltalk
                category: #'HardwarePeripherals-Core'

GPIOAccessorPiGpio class(GPIOAccessor class)>>uniqueInstance
        Receiver: GPIOAccessorPiGpio
        Arguments and temporary variables:

        Receiver's instance variables:
                superclass: GPIOAccessor
                methodDict: a MethodDictionary(#ensureStopped->(GPIOAccessorPiGpio>>#ensureStop...etc...
                format: 65537
                instanceVariables: #('library')
                organization: ('initialize-release' ensureStopped initialize)
('pin read/write'...etc...
                subclasses: nil
                name: #GPIOAccessorPiGpio
                classPool: nil
                sharedPools: an OrderedCollection(PiGPIOConstants)
                environment: Smalltalk
                category: #'HardwarePeripherals-Core'

RaspberryRelayController>>gpioAccessor
        Receiver: a RaspberryRelayController
        Arguments and temporary variables:


--- The full stack ---
PigpiodInterface>>externalCallFailed
PigpiodInterface>>pigpioStartIP:port:
PigpiodInterface>>pigpioStart
PigpiodInterface>>ensureStarted
GPIOAccessorPiGpio>>initialize
GPIOAccessorPiGpio class(Behavior)>>new
GPIOAccessorPiGpio class(GPIOAccessor class)>>uniqueInstance
RaspberryRelayController>>gpioAccessor
[] in RaspberryRelayController>>setup
Array(SequenceableCollection)>>do:
RaspberryRelayController>>setup
RaspberryRelayController class>>starting
UndefinedObject>>DoIt
Compiler>>evaluateCue:ifFail:
Compiler>>evaluateCue:ifFail:logged:
Compiler>>evaluate:in:to:notifying:ifFail:logged:
Compiler class>>evaluate:for:notifying:logged:
Compiler class>>evaluate:for:logged:
Compiler class>>evaluate:logged:


On Fri, 20 Oct 2017 15:28:26 -0700, tim Rowledge <[hidden email]> wrote:

>
>> On 20-10-2017, at 3:08 PM, tim Rowledge <[hidden email]> wrote:
>>> now fails in 2017-09-07-raspbian-stretch-lite with: Unable to locate package NuScratch.
>> lowercase, I think
>
>yup, all lowercase. It’s available at http://archive.raspberrypi.org/debian/pool/main/n/nuscratch/nuscratch_20170112_armhf.deb if you really have trouble.
>
>I suspect it will stay in Raspbian for a while yet. Not everyone likes Scratch2.
>
>tim
--
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon


Reply | Threaded
Open this post in threaded view
|

Re: sudo apt-get install NuScratch fails in 2017-09-07-raspbian-stretch-lite

timrowledge

> On 21-10-2017, at 11:06 AM, Louis LaBrunda <[hidden email]> wrote:
>
> Hi Tim,
>
> I installed the file from the link you gave me but still no luck.  I see the SqueakDebug log
> attachment doesn't look very good so below are parts of it.  I still think I'm missing
> something, drivers, an interface, something?

My best guess is that you don’t have pigpio installed, which would make some sense for Raspbian lite. If you open a terminal and try
`pigpiod`
you should get something like
2017-10-21 11:39:00 initCheckPermitted:
+---------------------------------------------------------+
|Sorry, you don't have permission to run this program.    |
|Try running as root, e.g. precede the command with sudo. |
+---------------------------------------------------------+


Can't initialise pigpio library

back if it is installed. And if not, I guess you’d get some ‘command not found’ error.
I’ve not needed to try it (my first installs were from source because it wasn’t in by default and then after that it was there by default) but I imagine installing pigpio would be
`sudo apt-get install pigpio`

tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Cloister: a pretentious clam



Reply | Threaded
Open this post in threaded view
|

sudo apt-get install NuScratch fails in 2017-09-07-raspbian-stretch-lite

Louis LaBrunda
Hi Tim,

I'm sorry to bother you with this stuff but I think if you ever need to but a Raspbian lite
with the latest version you will run into the same problems.  With some help from you and a
little luck, maybe you won't have to go through what I'm going through.

It does look like

sudo apt-get install pigpio

Wasn't done but it is one of the first things I do when setting up a new version of Raspbian. I
had done it (I could see it in the terminal command stack) and I did it again just in case. No
joy.  Please don't feel bad and don't hesitate to suggest things any amateur should have tried.
When think don't work that should work, everything, no matter how simple or whatever, is in
question.  I tried your test and got what you expected.  I tried:

sudo pigpiod

just to see what would happen.  The response was:

2017-10-23 10:58:46 initInitialise: Can't lock /var/run/pigpio.pid
Can't initialise pigpio library

Does that tell us anything?

I also tried changing some of the settings via raspi-config that seemed to have anything to do
with gpio nothing changed.  Except after a reboot it would belch a lot of stuff on the monitor.
I would loose patients with that and turn the power off.  Upon booting again sometimes the
belching would repeat, others it would boot okay.

I will keep trying and let you know what happens.

Lou

On Sat, 21 Oct 2017 11:42:57 -0700, tim Rowledge <[hidden email]> wrote:

>
>> On 21-10-2017, at 11:06 AM, Louis LaBrunda <[hidden email]> wrote:
>>
>> Hi Tim,
>>
>> I installed the file from the link you gave me but still no luck.  I see the SqueakDebug log
>> attachment doesn't look very good so below are parts of it.  I still think I'm missing
>> something, drivers, an interface, something?
>
>My best guess is that you don’t have pigpio installed, which would make some sense for Raspbian lite. If you open a terminal and try
>`pigpiod`
>you should get something like
>2017-10-21 11:39:00 initCheckPermitted:
>+---------------------------------------------------------+
>|Sorry, you don't have permission to run this program.    |
>|Try running as root, e.g. precede the command with sudo. |
>+---------------------------------------------------------+
>
>
>Can't initialise pigpio library
>
>back if it is installed. And if not, I guess you’d get some ‘command not found’ error.
>I’ve not needed to try it (my first installs were from source because it wasn’t in by default and then after that it was there by default) but I imagine installing pigpio would be
>`sudo apt-get install pigpio`
>
>tim
--
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon


Reply | Threaded
Open this post in threaded view
|

Re: sudo apt-get install NuScratch fails in 2017-09-07-raspbian-stretch-lite

timrowledge

> On 23-10-2017, at 8:26 AM, Louis LaBrunda <[hidden email]> wrote:

>  I tried:
>
> sudo pigpiod
>
> just to see what would happen.  The response was:
>
> 2017-10-23 10:58:46 initInitialise: Can't lock /var/run/pigpio.pid
> Can't initialise pigpio library
>
> Does that tell us anything?

That seems to me to confirm that pigpio was installed and that something else is stopping it… which is pretty much where my ‘expertise’ in linux runs out.

A bit of digging on the Pi forums (which you really ought to belong to and read with your morning coffee every day)) suggests that one has to have done
`sudo systemctl enable pigpiod `
but I was under the impression that that is for starting the daemon as a service automatically. I see several places where people talk about installing pigpio on lite and they all seemed to just use the `sudo apt-get install pigpio` thing.

It would be worth signing up to the Pi forums (https://www.raspberrypi.org/forums/) and looking through stuff there, maybe even asking in the Raspbian forum if you can’t spot anything.

The key site for pigpio is http://abyz.co.uk/rpi/pigpio/pigpiod.html and joan is generally very helpful if you email. It might be worth redoing the install from source, which is explained on her site.

tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Science is imagination equipped with grappling hooks.


Reply | Threaded
Open this post in threaded view
|

sudo apt-get install NuScratch fails in 2017-09-07-raspbian-stretch-lite

Louis LaBrunda
Hi Tim,

I have solved the problem.  It seemed like the .so files were present and where they should be
but they were not being found.  To test this theory, I copied /usr/lib/libpigpio.so and
/usr/lib/libpigpiod_if2.so to the same folder as the Squeak VM.  After that everything worked
as expected.  I have asked Dave Lewis off line if there is a better way than copying the files.
I will post what I end up with when I'm sure what is best.

Thanks again.

Lou


On Mon, 23 Oct 2017 10:23:31 -0700, tim Rowledge <[hidden email]> wrote:

>
>> On 23-10-2017, at 8:26 AM, Louis LaBrunda <[hidden email]> wrote:
>
>>  I tried:
>>
>> sudo pigpiod
>>
>> just to see what would happen.  The response was:
>>
>> 2017-10-23 10:58:46 initInitialise: Can't lock /var/run/pigpio.pid
>> Can't initialise pigpio library
>>
>> Does that tell us anything?
>
>That seems to me to confirm that pigpio was installed and that something else is stopping it… which is pretty much where my ‘expertise’ in linux runs out.
>
>A bit of digging on the Pi forums (which you really ought to belong to and read with your morning coffee every day)) suggests that one has to have done
>`sudo systemctl enable pigpiod `
>but I was under the impression that that is for starting the daemon as a service automatically. I see several places where people talk about installing pigpio on lite and they all seemed to just use the `sudo apt-get install pigpio` thing.
>
>It would be worth signing up to the Pi forums (https://www.raspberrypi.org/forums/) and looking through stuff there, maybe even asking in the Raspbian forum if you can’t spot anything.
>
>The key site for pigpio is http://abyz.co.uk/rpi/pigpio/pigpiod.html and joan is generally very helpful if you email. It might be worth redoing the install from source, which is explained on her site.
>
>tim
--
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon


Reply | Threaded
Open this post in threaded view
|

sudo apt-get install NuScratch fails in 2017-09-07-raspbian-stretch-lite

Louis LaBrunda
Hi Everyone,

To wrap this thread up I have solved all the problems with running Squeak using GPIO ports on
raspbian-stretch-lite.  To get the latest Squeak Scratch:

sudo apt-get install nuscratch

To get Squeak to use/find the GPIO stuff I added symbolic links to the folder where the Squeak
VM lives that point to two .so files:

/usr/lib/libpigpio.so
/usr/lib/libpigpiod_if2.so

Many thanks to Tim and Dave for their help.

Lou
--
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon


Reply | Threaded
Open this post in threaded view
|

Re: sudo apt-get install NuScratch fails in 2017-09-07-raspbian-stretch-lite

timrowledge

> On 25-10-2017, at 1:09 PM, Louis LaBrunda <[hidden email]> wrote:
>
> To get Squeak to use/find the GPIO stuff I added symbolic links to the folder where the Squeak
> VM lives that point to two .so files:
>
> /usr/lib/libpigpio.so
> /usr/lib/libpigpiod_if2.so

That’s just weird. On my Pi’s I have
 84 -rw-r--r-- 1 root root  83400 Jan 12  2017 /usr/lib/libpigpiod_if2.so
 72 -rw-r--r-- 1 root root  71280 Jan 12  2017 /usr/lib/libpigpiod_if.so
260 -rw-r--r-- 1 root root 264712 Jan 12  2017 /usr/lib/libpigpio.so
and no links involving them at all. It must be something to do with one other of the zoo of path variables that unix likes to maintain and hide from us. In the ‘squeak’ shell script to start up the vm I see LD_LIBRARY_PATH being set and it looks like /usr/lib is included there. I think. Maybe.

tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Useful random insult:- Ought to have a warning label on his forehead.



Reply | Threaded
Open this post in threaded view
|

sudo apt-get install NuScratch fails in 2017-09-07-raspbian-stretch-lite

Louis LaBrunda
Hi Tim,

>That’s just weird. On my Pi’s I have
> 84 -rw-r--r-- 1 root root  83400 Jan 12  2017 /usr/lib/libpigpiod_if2.so
> 72 -rw-r--r-- 1 root root  71280 Jan 12  2017 /usr/lib/libpigpiod_if.so
>260 -rw-r--r-- 1 root root 264712 Jan 12  2017 /usr/lib/libpigpio.so
>and no links involving them at all. It must be something to do with one other of the zoo of path variables that unix likes to maintain and hide from us. In the ‘squeak’ shell script to start up the vm I see LD_LIBRARY_PATH being set and it looks like /usr/lib is included there. I think. Maybe.
>tim

I came across LD_LIBRARY_PATH somewhere but I can't remember if I tried to set it.  I did try
to set regular PATH.  The squeak.sh file I have doesn't have any reference to LD_LIBRARY_PATH.
Maybe you added it?  I was also under the impression that /usr/lib was LD_LIBRARY_PATH or
whatever path is used for .so files?

I just tried:

        export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib

in my shell script instead of the links, it doesn't work.  Do I have something wrong?  What do
you have?

I just tried:

        export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib"

and it works!  Not coming up with this sooner is on me.  But in my defense searches came up
with lots of conflicting information, quotes, no quotes, which path variable, /usr/lib
supposedly being the default.  I also hate scripting languages made on top of command languages
after the fact.  They are never intuitive.  Rant over.

In a squeak script in /usr/bin/squeak (not .sh) on what I think is Raspbian Jessie, I found
this at the end:

# prepending is less flexible but safer because it ensures we find the plugins
# in the same directory as the VM.  We must include at least /lib and /usr/lib
# if libraries there-in are to be found.  These directories are not implicit.
case $PLATFORMLIBDIR in
/lib|/usr/lib) SVMLLP=/lib:/usr/lib;;
*) SVMLLP="$PLATFORMLIBDIR:/lib:/usr$PLATFORMLIBDIR:/usr/lib"
esac
LD_LIBRARY_PATH="$PLUGINS:$SVMLLP:${LD_LIBRARY_PATH}" $GDB "$BIN/squeak" $COMPIN "$@"

I guess it adds /usr/lib to the path but the version of squeak.sh that comes with the ARM
squeak has nothing like it.

I am going to drop the links and set LD_LIBRARY_PATH, now that I know how and that it works.  I
guess that with Squeak disappearing between Jessie and Stretch and the squeak.sh script that
comes with ARM not setting LD_LIBRARY_PATH and /usr/lib not being defaulted in LD_LIBRARY_PATH
like lots of posts claim, we have what we have.

Thanks again for the help.  Just being able and forced to explain things to someone, helps me
think of new things to try.

Lou
--
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon


Reply | Threaded
Open this post in threaded view
|

sudo apt-get install NuScratch fails in 2017-09-07-raspbian-stretch-lite

Louis LaBrunda
Wait, the LD_LIBRARY_PATH actually doesn't work.  I setup a new system from scratch and the
LD_LIBRARY_PATH doesn't work.  When I tried it before I didn't undo the links.  I stopped
refreshing them but I didn't think to undo them.  Wait, that's not the problem either.  I did
try without quotes around the path and that didn't work.  Now I'm really confused.  Time to
quit for today.

Lou

>Hi Tim,
>
>>That?s just weird. On my Pi?s I have
>> 84 -rw-r--r-- 1 root root  83400 Jan 12  2017 /usr/lib/libpigpiod_if2.so
>> 72 -rw-r--r-- 1 root root  71280 Jan 12  2017 /usr/lib/libpigpiod_if.so
>>260 -rw-r--r-- 1 root root 264712 Jan 12  2017 /usr/lib/libpigpio.so
>>and no links involving them at all. It must be something to do with one other of the zoo of path variables that unix likes to maintain and hide from us. In the ?squeak? shell script to start up the vm I see LD_LIBRARY_PATH being set and it looks like /usr/lib is included there. I think. Maybe.
>>tim
>
>I came across LD_LIBRARY_PATH somewhere but I can't remember if I tried to set it.  I did try
>to set regular PATH.  The squeak.sh file I have doesn't have any reference to LD_LIBRARY_PATH.
>Maybe you added it?  I was also under the impression that /usr/lib was LD_LIBRARY_PATH or
>whatever path is used for .so files?
>
>I just tried:
>
> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib
>
>in my shell script instead of the links, it doesn't work.  Do I have something wrong?  What do
>you have?
>
>I just tried:
>
> export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib"
>
>and it works!  Not coming up with this sooner is on me.  But in my defense searches came up
>with lots of conflicting information, quotes, no quotes, which path variable, /usr/lib
>supposedly being the default.  I also hate scripting languages made on top of command languages
>after the fact.  They are never intuitive.  Rant over.
>
>In a squeak script in /usr/bin/squeak (not .sh) on what I think is Raspbian Jessie, I found
>this at the end:
>
># prepending is less flexible but safer because it ensures we find the plugins
># in the same directory as the VM.  We must include at least /lib and /usr/lib
># if libraries there-in are to be found.  These directories are not implicit.
>case $PLATFORMLIBDIR in
>/lib|/usr/lib) SVMLLP=/lib:/usr/lib;;
>*) SVMLLP="$PLATFORMLIBDIR:/lib:/usr$PLATFORMLIBDIR:/usr/lib"
>esac
>LD_LIBRARY_PATH="$PLUGINS:$SVMLLP:${LD_LIBRARY_PATH}" $GDB "$BIN/squeak" $COMPIN "$@"
>
>I guess it adds /usr/lib to the path but the version of squeak.sh that comes with the ARM
>squeak has nothing like it.
>
>I am going to drop the links and set LD_LIBRARY_PATH, now that I know how and that it works.  I
>guess that with Squeak disappearing between Jessie and Stretch and the squeak.sh script that
>comes with ARM not setting LD_LIBRARY_PATH and /usr/lib not being defaulted in LD_LIBRARY_PATH
>like lots of posts claim, we have what we have.
>
>Thanks again for the help.  Just being able and forced to explain things to someone, helps me
>think of new things to try.
>
>Lou
--
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon


Reply | Threaded
Open this post in threaded view
|

sudo apt-get install NuScratch fails in 2017-09-07-raspbian-stretch-lite

Louis LaBrunda
Hi,

I'm back to using the links.  I would prefer to add /usr/lib (where the .so files are) to what
ever path is appropriate but can't seem to figure out what path to set or how to set it.  I
tried LD_LIBRARY_PATH and some other paths but nothing works.  For now the links work.  If
things change and using a path works, I will switch to that.

Lou
--
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon


Reply | Threaded
Open this post in threaded view
|

Re: sudo apt-get install NuScratch fails in 2017-09-07-raspbian-stretch-lite

timrowledge
This is very puzzling.

You should have  /usr/bin/squeak and /usr/bin/scratch

scratch does some specific to scratch flim-flammery and call /usr/bin/squeak, which does a load of weird stuff to find the libc path, makes a cup of tea, sits and has that with a biscuit, thinks about it some more. Eventually it sets LD_LIBRARY_PATH and runs the actual vm executable with the assorted options.

tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
M$ are grinning pigs in a sea of buggy code - The Inquirer





Reply | Threaded
Open this post in threaded view
|

sudo apt-get install NuScratch fails in 2017-09-07-raspbian-stretch-lite

Louis LaBrunda
Hi Tim,

I think this is just a Raspbian Stretch problem.  I have seen some posts about problems with
Stretch and LD_LIBRARY_PATH and searching but no real answers.  I keep wasting time trying
things that get me nowhere.

Lou

On Mon, 30 Oct 2017 10:46:34 -0700, tim Rowledge <[hidden email]> wrote:

>This is very puzzling.
>
>You should have  /usr/bin/squeak and /usr/bin/scratch
>
>scratch does some specific to scratch flim-flammery and call /usr/bin/squeak, which does a load of weird stuff to find the libc path, makes a cup of tea, sits and has that with a biscuit, thinks about it some more. Eventually it sets LD_LIBRARY_PATH and runs the actual vm executable with the assorted options.
>
>tim
--
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon