wiki:Developer_PortQNX

Version 3 (modified by stevestereo, 14 years ago) ( diff )

--

Prerequisits:

OS:

  • QNX Neutrino 6.5.0 (M9) for x86

tools:

  • automake-1.11.1
  • perl-5.10.1nb1
  • autoconf-2.65nb1
  • m4-1.4.14
  • svn client 1.6.5 (included in OS)

checkout the source from svn:

# svn co https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk/smartmontools smartmontools

This will result in the following output the first time you run it:

Error validating server certificate for 'https://smartmontools.svn.sourceforge.net:443':
 - The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
Certificate information:
 - Hostname: *.svn.sourceforge.net
 - Valid: from Mon, 04 Jan 2010 15:21:55 GMT until Sat, 05 Feb 2011 10:03:23 GMT
 - Issuer: Equifax Secure Certificate Authority, Equifax, US
 - Fingerprint: ea:d1:3e:01:cc:16:e9:9b:c2:ab:4b:0c:cc:26:5f:25:78:ea:89:b4
(R)eject, accept (t)emporarily or accept (p)ermanently? p

Accept by choosing permantently and run the checkout command again
Now you will get all the files to ./smartmontools ( check the revision to be sure, what you got )

A    smartmontools/os_openbsd.cpp
A    smartmontools/os_qnxnto.h
A    smartmontools/dev_tunnelled.h
 U   smartmontools
Checked out revision 3108.

download the patch for getopt from
http://sourceforge.net/attachment/ticket/1/configure-getopt.patch
and placed it into/tmp/smartmontools and applied it with:

# patch <  configure-getopt.patch 
patching file Makefile.am
patching file configure.in
Note: See TracWiki for help on using the wiki.