op 30-09-13 18:27, Greg Freemyer schreef:
Agreed, but when asking for help I typically push what I have to OBS so others can see what I'm doing. Now doing it all in OBS. %install %{__rm} -rf %{buildroot} ./build install DESTDIR=%{buildroot}
I don't know what that is supposed to be so I'll let you chew on it. I removed the second line. The last one is used to make the install. So it's a replacement of make install.
But I got a lot further. One of the biggest errors was the compiler that was to old. So I moved to factory. But now I get an error that’s more difficult: [ 1500s] g++ --std=c++0x -O2 -g -Wall -isystem tmp -fPIC -shared -Wl,--as-needed,-z,defs,-soname,libbobcat.so.3 -o tmp/lib/libbobcat.so.3.16.00 */os/*.o -lX11 -lssl -lcrypto -lreadline -lmilter -L/usr/lib/libmilter [ 1505s] /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../lib64/libmilter.a(listener.o): In function `mi_listener': [ 1505s] /home/abuild/rpmbuild/BUILD/sendmail-8.14.7/obj.Linux.3.7.10-1.1-default.x86_64/libmilter/listener.c:941: undefined reference to `pthread_create' [ 1505s] /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../lib64/libmilter.a(handler.o): In function `mi_handle_session': [ 1505s] /home/abuild/rpmbuild/BUILD/sendmail-8.14.7/obj.Linux.3.7.10-1.1-default.x86_64/libmilter/handler.c:42: undefined reference to `pthread_detach' [ 1505s] /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../lib64/libmilter.a(signal.o): In function `mi_spawn_signal_thread': [ 1505s] /home/abuild/rpmbuild/BUILD/sendmail-8.14.7/obj.Linux.3.7.10-1.1-default.x86_64/libmilter/signal.c:174: undefined reference to `pthread_sigmask' [ 1505s] /home/abuild/rpmbuild/BUILD/sendmail-8.14.7/obj.Linux.3.7.10-1.1-default.x86_64/libmilter/signal.c:180: undefined reference to `pthread_create' According to Frank Brokken it's in the fact that I use a static lib. But there is no way I can't find a installer for libmilter, Debian seams to be the only one. Is there a other way to fix this? BTW. libmilter seems to be part of sendmail and sendmail-devel gives the static lib. New build log: https://build.opensuse.org/package/live_build_log/home:Drunken/bobcat/openSU... Daniël -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org