Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - smartmontools availiable?: Page 1 of 2 (11 Items)
   
smartmontools availiable?  
Did anybody try to build the smartmontools?
I tried the included version from SVN repository 5.38 but it tells me that 
QNX is not a supported plattform. I am new to porting packages, but I would give it a try
if anybody can give me a hint how to start.

I also checked their website at sourceforge, where the description is mentioning QNX as basically possible. But after 
downloading the 5.39 tarball I found that ./configure stops
with getopt_long not availiable.

I built libgetopt from pkgsrc and it is now installed and included on my system, but configure still can't "see" it. How
 do I get this lib included for configure...

Any hints?

Thanks,
Stefan
Re: smartmontools availiable?  
Try

./configure CPPFLAGS=-I/usr/pkg/include LDFLAGS=-L/usr/pkg/lib LIBS=-lgetopt 2>&1 | tee Config.log

and
make 2>&1 | tee CC.log


Re: smartmontools availiable?  
Hi bodgan,
thanks for the hint.
Configure now completes...
But make still does not find getopt.h

I changed the Makefile manually and added INCLUDES = -I/usr/pkg/inlcude 
This makes the build run a litte further but ends up with
....
No rule to make target os_qnxnto.o, needed by smard Stop.

For my simple understanding this means that qnx is not really supported anymore.

I will ask in the mailing list of smartmontools about that and keep you informend

bye,
stefan
Re: smartmontools availiable?  
I think that you should make os_qnxnto.c and os_qnxnto.h from os_linux.* 
or os_freebsd.*
Re: smartmontools availiable?  
Re: smartmontools availiable?  
Re: smartmontools availiable?  
I was able to build one part of the package from sourceforge tarball and with the help of their mailing list. 
You find my patch and background information here.
https://sourceforge.net/apps/trac/smartmontools/ticket/1

if you checkout there source with svn 3108, you can apply the attached patch and build it

Next step is to build smartd...

thanks for the help,
stefan
Attachment: Text configure-getopt-qnx.patch 2.01 KB
Re: smartmontools availiable?  
With the help from the smartmontools project, I have been able to provide some changes to them, so with 5.40, revision 
3110 the executable smartctl builds from source, without further modifications. 
I tried out under qnx6.4.1 and qnx6.5.0M9 both working.

smartd is not working up to now, but having smartctl is a big deal anyway, I think.

How can these changes be fed into pkgsrc?

I appended the 6.5.0 executable and would appreciate anybody trying it out
Attachment: Text smartctl 976.15 KB
Re: smartmontools availiable?  
Hi Stefan,

I am a newbie in this area. I need smartmontools for monitoring disks behind RAID controllers for QNX. I read your posts
. Have you been able to build smart utilities? 
If so, please give instructions on how to build smartmontools for monitoring RAID controllers in QNX.

Thanks a million,
Honey S 
Re: smartmontools availiable?  
I tried the smartmontools version 5.38. When i tried to build that, i am finding a error that config.h is missing. I 
tried to find the file in 5.38 tar, but i am unable to find it. Please help me in this regard.