Installing Package

This forum is for discussion about general software issues.

Installing Package

Postby cosmarchy » Sun Jan 05, 2014 4:11 pm

Hello all,

I am following instructions from http://rbnrpi.wordpress.com/project-list/setting-up-wireless-motion-detect-cam/ to try and install Motion on my RaspberryPi.

Part of the instructions install libjpeg62 but it I done using apt-get which ArchLinux does not have. I have pacman installed but I don't know how to install libjpeg62.

I tried the following code to install libjpeg:
$this->bbcode_second_pass_code('', 'pacman -S libjpeg')
and I get the following response:
$this->bbcode_second_pass_quote('', 'w')arning: libjpeg-turbo-1.3.0-4 is up to date -- reinstalling
error: failed to prepare transaction (could not find database)

I'm not sure whether libjpeg is the same as libjpeg62???

If it is not then how do I install libjpeg62 using pacman?

thanks
cosmarchy
 
Posts: 4
Joined: Sun Jan 05, 2014 3:48 pm

Re: Installing Package

Postby WarheadsSE » Sun Jan 05, 2014 4:20 pm

$this->bbcode_second_pass_quote('', 'W')e don’t actually use this version, but it does insure that all the necessary dependencies are installed as well

Skip it.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Installing Package

Postby cosmarchy » Sun Jan 05, 2014 4:30 pm

Thanks very much for your reply.

I skipped this step as instructed but when it comes to testing a few lines down I run into another problem.

I type:
$this->bbcode_second_pass_code('', './motion-mmal -n -c motion-mmalcam.conf') and I get the following error $this->bbcode_second_pass_quote('', '.')/motion-mmal: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
which is why I went back and tried to install libjpeg.

I'm not sure whether this error means libjpeg is not installed or whether there is another reason???????
cosmarchy
 
Posts: 4
Joined: Sun Jan 05, 2014 3:48 pm
Top

Re: Installing Package

Postby WarheadsSE » Sun Jan 05, 2014 5:27 pm

It means that person compiled it with links to that library. It's what you get using someone else's compiled binary from another distribution.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Installing Package

Postby moonman » Mon Jan 06, 2014 12:02 am

New kernels have v4l support for the rpi camera. Regular motion should work out of the box if you update with pacman -Suy and reboot.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Installing Package

Postby cosmarchy » Mon Jan 06, 2014 9:34 pm

Thanks Moonman for your reply.

Unfortunately pacman -Suy does not work. Thanks for the suggestion. :)
cosmarchy
 
Posts: 4
Joined: Sun Jan 05, 2014 3:48 pm

Re: Installing Package

Postby WarheadsSE » Mon Jan 06, 2014 9:38 pm

"does not work"
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to General

Who is online

Users browsing this forum: No registered users and 21 guests