[zypp-devel] svn-trunk compile issue ...
hi! /home/dl9pf/user/svn/zypper-trunk/libzypp/zypp/Repository.cc: In member function ‘zypp::Date zypp::Repository::generatedTimestamp() const’: /home/dl9pf/user/svn/zypper-trunk/libzypp/zypp/Repository.cc:71: error: ‘REPOSITORY_TIMESTAMP’ was not declared in this scope /home/dl9pf/user/svn/zypper-trunk/libzypp/zypp/Repository.cc: In member function ‘zypp::Date zypp::Repository::suggestedExpirationTimestamp() const’: /home/dl9pf/user/svn/zypper-trunk/libzypp/zypp/Repository.cc:97: error: ‘REPOSITORY_EXPIRE’ was not declared in this scope make[2]: *** [zypp/CMakeFiles/zypp.dir/Repository.cc.o] Fehler 1 make[2]: *** Warte auf noch nicht beendete Prozesse... make[1]: *** [zypp/CMakeFiles/zypp.dir/all] Fehler 2 make: *** [all] Fehler 2 dl9pf@legolas:~/user/svn/zypper-trunk/libzypp> Any hint ? Best regards Jan-Simon -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Wed, Aug 06, Jan-Simon M?ller wrote:
hi!
/home/dl9pf/user/svn/zypper-trunk/libzypp/zypp/Repository.cc: In member function ???zypp::Date zypp::Repository::generatedTimestamp() const???: /home/dl9pf/user/svn/zypper-trunk/libzypp/zypp/Repository.cc:71: error: ???REPOSITORY_TIMESTAMP??? was not declared in this scope /home/dl9pf/user/svn/zypper-trunk/libzypp/zypp/Repository.cc: In member function ???zypp::Date zypp::Repository::suggestedExpirationTimestamp() const???: /home/dl9pf/user/svn/zypper-trunk/libzypp/zypp/Repository.cc:97: error: ???REPOSITORY_EXPIRE??? was not declared in this scope make[2]: *** [zypp/CMakeFiles/zypp.dir/Repository.cc.o] Fehler 1 make[2]: *** Warte auf noch nicht beendete Prozesse... make[1]: *** [zypp/CMakeFiles/zypp.dir/all] Fehler 2 make: *** [all] Fehler 2 dl9pf@legolas:~/user/svn/zypper-trunk/libzypp>
Any hint ?
You need to update your satsolver URL: http://svn.opensuse.org/svn/zypp/trunk/sat-solver They are defined in {%pefix}/include/satsolver/knownid.h -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
Am Mittwoch 06 August 2008 13:14:46 schrieb Michael Andres:
You need to update your satsolver URL: http://svn.opensuse.org/svn/zypp/trunk/sat-solver
They are defined in {%pefix}/include/satsolver/knownid.h
the file is in place (<prefix>/include/satsolver) ... could it be the include of {%prefix}/include fails ? i use another prefix: dl9pf@legolas:~/user/svn/zypper-trunk/libzypp> more Makefile.jsm # Generic Makefile.cvs for CMake-based projects: # # Create a subdirecory build/ and call cmake from there with /usr prefix. # # Intentionally using /usr rather than the default /usr/local since this is for # internal use, and we are the distribution makers: /usr/local is off limits # for us. # # Author: Stefan Hundhammer <sh@suse.de> BUILD_SUBDIR = build HERE_FROM_BUILD_SUBDIR = .. PREFIX = /home/dl9pf/pfx/ CMAKE = /usr/bin/cmake all: cmake cmake: create-build-subdir create-toplevel-makefile ( cd $(BUILD_SUBDIR) && $(CMAKE) -DCMAKE_INSTALL_PREFIX=$(PREFIX) $(HERE_FROM_BUILD_SUBDIR) ) create-build-subdir: test -d $(BUILD_SUBDIR) || mkdir $(BUILD_SUBDIR) create-toplevel-makefile: echo 'all:' >Makefile echo -e '\t$$(MAKE) $$(MAKEFLAGS) -C $(BUILD_SUBDIR)' >>Makefile -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
You need to update your satsolver URL: http://svn.opensuse.org/svn/zypp/trunk/sat-solver
They are defined in {%pefix}/include/satsolver/knownid.h
Update: it tries to include /usr/include ... not /prefix/include and thus only finds my "old" version best regards Jan-Simon -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Wed, Aug 06, Jan-Simon M?ller wrote:
You need to update your satsolver URL: http://svn.opensuse.org/svn/zypp/trunk/sat-solver
They are defined in {%pefix}/include/satsolver/knownid.h
Update: it tries to include /usr/include ... not /prefix/include and thus only finds my "old" version
I guess everybody has it's own solution to this kind of problem. Personally I perfer to not install any of the -devel packages for sat-solver, libzypp and zypper etc. I maintain a symplink pointing to the tree where I checkout and build. /Local/ma/zypp -> zypp-trunk | /zypp-trunk/libzypp | /sat-solver | /zypper | /zypp-11.0/libzypp /sat-solver /zypper And instead of installing libs and headers I symlink them back below /Local/ma/zypp: /usr/local/include/ /satsolver -> /Local/ma/zypp/sat-solver/src /zypp -> /Local/ma/zypp/libzypp/zypp /usr/local/lib/ /libsatsolver.a -> /Local/ma/zypp/BUILD/sat-solver/src/libsatsolver.a /libzypp.so -> /Local/ma/zypp/BUILD/libzypp/zypp/libzypp.so | /pkgconfig/libzypp.pc -> /Local/ma/zypp/BUILD/libzypp/libzypp.pc /usr/share/cmake/Modules/ /FindZypp.cmake -> /Local/ma/zypp/libzypp/cmake/modules/FindZypp.cmake /ZyppCommon.cmake -> /Local/ma/zypp/libzypp/cmake/modules/ZyppCommon.cmake So I can switch beween different SVN braches by just changing the /Local/ma/zypp symlink. But more important to me, that I always use the correct set of headers and libs. No inconsistencies due to forgotten 'make install', or meanwhile deleted but still installed header files. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (2)
-
Jan-Simon Möller
-
Michael Andres