I checked out the latest version of ntop and trying to build an RPM on
OpenSUSE 10.3.

I went to /root/ntop/ntop/packages/suse and did "rpmbuild -ba
ntop.spec" and get an error -

error: Legacy syntax is unsupported: copyright
error: line 15: Unknown tag: Copyright: GPL

so I edited the ntop.spec and commented out "Copyright: GPL" and added
"License: GPL"

and did "rpmbuild -ba ntop.spec" again and get error:

error: Bad file: /usr/src/packages/SOURCES/rc.config.ntopd: No such
file or directory
error: Bad file: /usr/src/packages/SOURCES/ntopd: No such file or directory

RPM build errors:
Bad file: /usr/src/packages/SOURCES/rc.config.ntopd: No such file or directory
Bad file: /usr/src/packages/SOURCES/ntopd: No such file or directory

so I cp /root/ntop/ntop/packages/suse/rc.config.ntopd to /usr/src
/packages/SOURCES/ and cp /root/ntop/ntop/packages/suse/ntopd to /usr/src
/packages/SOURCES/

I ran "rpmbuild -ba ntop.spec" again and get the following error -

error: File not found: /etc/init.d/ntopd
error: File not found: /usr/bin/intop
error: File not found: /usr/bin/ntop
error: File not found: /usr/bin/ntop-cert.pem
error: File not found: /usr/bin/ntop-config
error: File not found by glob: /usr/lib/libicmpPlugin.*
error: File not found by glob: /usr/lib/liblastSeenPlugin.*
error: File not found by glob: /usr/lib/libnfsPlugin.*
error: File not found by glob: /usr/lib/libntop-2.0.*
error: File not found by glob: /usr/lib/libntop.*
error: File not found by glob: /usr/lib/libntopreport-2.0.*
error: File not found by glob: /usr/lib/libntopreport.*
error: File not found: /usr/sbin/rcntopd
error: File not found: /usr/share/ntop
error: File not found: /usr/share/ntop/html
error: File not found: /usr/lib/ntop
error: File not found: /usr/lib/ntop/plugins
error: File not found: /usr/share/man/man1/intop.1.gz
error: File not found: /usr/share/man/man8/ntop.8.gz
error: File not found: /var/adm/fillup-templates/rc.config.ntopd
error: File not found: /var/lib/ntop
File not found: /etc/init.d/ntopd
File not found: /usr/bin/intop
File not found: /usr/bin/ntop
File not found: /usr/bin/ntop-cert.pem
File not found: /usr/bin/ntop-config
File not found by glob: /usr/lib/libicmpPlugin.*
File not found by glob: /usr/lib/liblastSeenPlugin.*
File not found by glob: /usr/lib/libnfsPlugin.*
File not found by glob: /usr/lib/libntop-2.0.*
File not found by glob: /usr/lib/libntop.*
File not found by glob: /usr/lib/libntopreport-2.0.*
File not found by glob: /usr/lib/libntopreport.*
File not found: /usr/sbin/rcntopd
File not found: /usr/share/ntop
File not found: /usr/share/ntop/html
File not found: /usr/lib/ntop
File not found: /usr/lib/ntop/plugins
File not found: /usr/share/man/man1/intop.1.gz
File not found: /usr/share/man/man8/ntop.8.gz
File not found: /var/adm/fillup-templates/rc.config.ntopd
File not found: /var/lib/ntop

Is there anything I am doing wrong? I've heard of a program called
checkinstall but don't think it would be any easier.

Does anyone know how to build this RPM on OpenSUSE 10.3?

Thanks for any help.
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to