My binaries just die!

Support and queries relating to all previous versions of ZoneMinder
Locked
jayherrick
Posts: 10
Joined: Fri Mar 12, 2004 9:17 pm

My binaries just die!

Post by jayherrick »

Hello,

I'm sure I've overlooked something. I'm running a Slackware 9.0 system, upgraded with a 2.6.3 kernel.

The build ran just fine, per the README. But the zmc, zma, ... files that are generated do not run! I'm not sure what's going on. There were no errors during the build and no output makes it to the message log. If I try to run zmc from the command line I get this:

jay@fearless:~/test/zm-1.18.1/src$ zmc
Killed
jay@fearless:~/test/zm-1.18.1/src$ zmc -d 0
Killed
jay@fearless:~/test/zm-1.18.1/src$ zmc -h
Killed

Any ideas?

Thanks,

-Jay Herrick
User avatar
peterthevicar
Posts: 42
Joined: Tue Jan 06, 2004 11:07 pm

Re: My binaries just die!

Post by peterthevicar »

Anything in /var/log/messages (or wherever Slack puts these things)?

General point for Linux: it's always to do with permissions :-)

Peter
jayherrick
Posts: 10
Joined: Fri Mar 12, 2004 9:17 pm

Re: My binaries just die!

Post by jayherrick »

You got me worried with the permissions statement, so I ran over to the server and checked and they are good:

-rwxr-xr-x 1 root root 628145 Mar 12 10:31 zmc*

Nothing in the /var/log/messages or /var/log/syslog. I confirmed in /etc/syslog.conf that everything lower than warn goes in messages and everything higher goes in syslog. The fact that NOTHING showed up got me curious, so I checked out the source code. It looks like zmc -h should output something no matter how badly things are messed up. I wonder if it's a problem in the makefile? It seems like the binary as a whole is bad. I take it from your response that you haven't seen this before? Anyone out there running on 2.6.x?

Any ideas?

Thanks for the help,
-Jay
User avatar
peterthevicar
Posts: 42
Joined: Tue Jan 06, 2004 11:07 pm

Re: My binaries just die!

Post by peterthevicar »

[quote]I take it from your response that you haven't seen this before? Anyone out there running on 2.6.x?[/quote]

No, it works OK for me. I'm running a Debian/Sid 2.6.3-1-k7 kernel and all is well.

Peter
jayherrick
Posts: 10
Joined: Fri Mar 12, 2004 9:17 pm

Re: My binaries just die!

Post by jayherrick »

OK, I must have something wrong with my Slackware environment. I'll just start over with Debian.

Thanks for your help,
-Jay
User avatar
peterthevicar
Posts: 42
Joined: Tue Jan 06, 2004 11:07 pm

Re: My binaries just die!

Post by peterthevicar »

Jay,

If it's any help I've put my log of what i did to get ZM up on a fairly fresh Debian install at www.salisburys.net/zoneminderlog.html
I started with the 'mini-iso' stable distribution and then apt-get dist-upgraded it to Sid. I had KDE installed before I started so there may be some packages that came in before I began the ZM log (most of that new-hardware agony (!) is on www.salisburys.net/allsaintslog.html)

I'm probably teaching grandparents to suck eggs here but if you already have a Debian system on the LAN do consider using apt-proxy to avoid re-fetching everything.

HTH, Peter
Locked