Author Topic: [RESOLVED]Trying to install zoneminder, needs libmysqlclient.a  (Read 4605 times)

Offline Almost-retired

  • Sr. Member
  • ****
  • Posts: 252
    • What keeps Gene out of the bars
[RESOLVED]Trying to install zoneminder, needs libmysqlclient.a
« on: September 25, 2011, 09:27:55 AM »
Hi all;

So the question is, how do I enable the -devel stuff in synaptic so I can find it myself, or what package that I can see has this libmysqlclient.a?

What I am trying to do is build zoneminder to watch a reloading powder scales balance beam and perhaps issue stepper motor steps according to the beams position, for an automatic powder measure.

Thanks.

Cheers, Gene
« Last Edit: October 14, 2011, 05:43:18 PM by Almost-retired »

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12794
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: Trying to install zoneminder, needs libmysqlclient.a
« Reply #1 on: September 25, 2011, 10:00:32 AM »
Hi Gene.

Try installing libmysql-static-devel package via Synaptic before installing zoneminder.

See if this helps.

Andy
« Last Edit: September 25, 2011, 10:21:51 AM by AndrzejL »

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12794
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: Trying to install zoneminder, needs libmysqlclient.a
« Reply #2 on: September 25, 2011, 10:39:40 AM »
And about second part of Your question. Maybe this will help.

Andy
« Last Edit: March 28, 2013, 04:06:01 PM by AndrzejL »

Offline Almost-retired

  • Sr. Member
  • ****
  • Posts: 252
    • What keeps Gene out of the bars
Re: Trying to install zoneminder, needs libmysqlclient.a
« Reply #3 on: September 25, 2011, 02:08:47 PM »
Humm, synaptic will not show me any -devel stuff.  How to fix that?

apt-get install libmysql-static-devel did work, but ./configure is still taking the sore loser way out with  this message now:

checking for perl module Sys::Mmap... no
configure: error: zm requires Sys::Mmap for mapped memory - set --enable-mmap=no to use IPC shared memory instead

Go check synaptic's perl listings...
Nope, apt-get couldn't find it, finally had to use cpan to get it.  Ahh, configure completed, but now make bails out with what looks like a mysql failure?:

g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include   -g -O2 -MT zm_local_camera.o -MD -MP -MF .deps/zm_local_camera.Tpo -c -o zm_local_camera.o zm_local_camera.cpp
zm_local_camera.cpp: In static member function ‘static bool LocalCamera::GetCurrentSettings(const char*, char*, int, bool)’:
zm_local_camera.cpp:774:22: error: ‘PATH_MAX’ was not declared in this scope
zm_local_camera.cpp:779:21: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:781:22: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:782:29: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:799:67: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:801:54: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:811:92: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:936:91: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:961:82: error: ‘queryDevice’ was not declared in this scope
make[2]: *** [zm_local_camera.o] Error 1
make[2]: Leaving directory `/usr/src/ZoneMinder-1.25.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/ZoneMinder-1.25.0'
make: *** [all] Error 2

So, I think I am about to make a wall cabinet to hold a old ubuntu machine to replace the bookshelf kit above the reloading bench, and move that old 1Ghz athlon machine into it & see if ubuntu has ready-made packages for it. ISTR fedora did, yonks ago.

Thanks muchly for the help  Andy.

Cheers, Gene

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12794
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: Trying to install zoneminder, needs libmysqlclient.a
« Reply #4 on: September 25, 2011, 02:23:46 PM »
No problem Gene.

In the build directory search for file config.log and analyze its content for more details about the error. This could help.

Another thing - since we do not support out of repo installations in the normal "Help" section of the forum I will ask moderators to move it to the "Advanced users" section of the forum.

Please remember about it in the future ok?

Andy

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12794
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: Trying to install zoneminder, needs libmysqlclient.a
« Reply #5 on: September 25, 2011, 02:27:59 PM »
I am not sure about the synaptic issue... It shows all the packages here...

Andy

Offline Almost-retired

  • Sr. Member
  • ****
  • Posts: 252
    • What keeps Gene out of the bars
Re: Trying to install zoneminder, needs libmysqlclient.a
« Reply #6 on: September 25, 2011, 02:45:31 PM »
I'm on the paid repo, does that change anything?  Or if it is not 'devel' that I add to the list of SW I am interested in in order to see the development packages, maybe its 'src' or 'sources'?

I will retract the no devel statement, I do see some, but nowhere near the full list.  5% of what is available maybe.

Thanks Andy, & Cheers, Gene

Offline AndrzejL

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 12794
  • RLU #490933
    • Wordpress On The Wardrobe...
Re: Trying to install zoneminder, needs libmysqlclient.a
« Reply #7 on: September 25, 2011, 02:49:13 PM »
That's really weird. I am on the pass repository as well but I can see plenty of devel files... Not really sure why You cannot see them...

Andy

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Trying to install zoneminder, needs libmysqlclient.a
« Reply #8 on: September 25, 2011, 05:38:07 PM »
Synaptic > Reload > Mark All Upgrades > Apply - Apply >>>>> Search > use the term -devel > use the Name option.     

Offline Almost-retired

  • Sr. Member
  • ****
  • Posts: 252
    • What keeps Gene out of the bars
Re: Trying to install zoneminder, needs libmysqlclient.a
« Reply #9 on: September 25, 2011, 05:48:40 PM »
Been there, done that Neal.  ATM, syntaptic says the system is up to date, but the dock has a yellow triangle with a red marker over it.  And I have run synaptic from that popup 3 times today.

only one repo is enabled and its 'section' line has:

main updates nonfree kde4 games

in it.  What else should there be?

And I just ran it again, did a reload, and mark all changes, and there were no updates, but the update-notifier icon that says there are some is still there.

Thanks & Cheers Neal, Gene

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Trying to install zoneminder, needs libmysqlclient.a
« Reply #10 on: September 25, 2011, 06:15:40 PM »
Been there, done that Neal.  ATM, syntaptic says the system is up to date, but the dock has a yellow triangle with a red marker over it.  And I have run synaptic from that popup 3 times today.
     
syntaptic?     
Try launching Synaptic from the menu instead.     

Quote
only one repo is enabled and its 'section' line has:

main updates nonfree kde4 games

in it.  What else should there be?

That's all. There is no special "devel" section. There is no need to ask again.

Quote
And I just ran it again, did a reload, and mark all changes, and there were no updates, but the update-notifier icon that says there are some is still there.

Thanks & Cheers Neal, Gene

The yellow triangle doesn't always mean that there are updates. It shows when there are errors - held packages and etc. Right click the icon and exit update-notifier. (You can restart it later.) Load Synaptic from the menu. Reload, etc.     

Offline Almost-retired

  • Sr. Member
  • ****
  • Posts: 252
    • What keeps Gene out of the bars
Re: Trying to install zoneminder, needs libmysqlclient.a
« Reply #11 on: September 25, 2011, 06:40:51 PM »
I did that.  I also installed zoneminder on an old ubuntu 10-04 box, but it doesn't even have the cajones to run cheese.  I guess I'll have to build another box for this application.  Sigh...  So we can close this out I guess since it isn't going to be solved anyway.

Thanks Neal, Cheers, Gene

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Trying to install zoneminder, needs libmysqlclient.a
« Reply #12 on: September 25, 2011, 07:04:56 PM »
Resolved? Modify your first post in this thread to add [Resolved] to the title.     

Offline zerocool

  • Sr. Member
  • ****
  • Posts: 374
Re: Trying to install zoneminder, needs libmysqlclient.a
« Reply #13 on: September 25, 2011, 07:15:53 PM »
Ya know, I had zoneminder working some time ago. I think I had to follow the instructions in the zoneminder wiki. IIRC, there was a PCLinuxOS specific section on their wiki. Anyway, I was not too happy with its performance.

I ended up hacking out a perl-TK script which uses a wget loop to download some number of static images from the ip-cam and then dump them all to ffmpg to output a movie1.ogg file for storage. It works very well for what I wanted. Small, Simple, customizable. I've been meaning to ask if anyone else might be interested in the code but its still rather primitive at this stage and I've been meaning to add some dialogs for gui configuation files before I did...

Let me know if anyone wants it or thinks it might be useful and wants to help with the code. I'm more than happy to contribute the source if we think we can all improve upon it. If not, I'll keep working on myself and post when I have something PCLinuxOS worthy.

IOW, ready when its ready...  8)  

  

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Trying to install zoneminder, needs libmysqlclient.a
« Reply #14 on: September 25, 2011, 07:46:24 PM »
zerocool,
Code Hackers is the section to post in. Likely you'll get some great help.

A suggestion:
Study any apps written by Leiche and/or pinoc. They are very good, and pinoc has added comments in his addlocale and lomanager for information.