2011/8/15 Ulrich Telle <Ulrich.Telle@xxxxxx>: > Hi Domingo, > >> I would like to package wxPdfDocument [1], a class library for >> creating PDF documents in a C++ application. >> >> As I use it in production environments since 2009 with no problems, I >> would like to package it for Fedora in order to have it available in >> the official repos. > > Nice to hear that including wxPdfDocument is discussed. > >> It currently builds successfully under i686 but not in x86_64 because >> of a /usr/lib - /usr/lib64 dir name issue. But I read this morning how >> to solve it in another message in this list, so I will test it on an >> x86_64 machine as soon as I can. > > Please let me know if changes to the source code of wxPdfDocument are necessary > to solve this building problem. If yes, I'd like to include them into my own > file releases on wxCode. > Ulrich, thank you for your support. The build under x86_64 has been fixed [1] and the review request has been updated accordingly. A link to a successful koji build and some rpmlint output for the spec file and the .src.rpm were added too. The issue was with multilib support in Fedora, the lib directory under i686 is /whatever/lib and under x86_64 is /whatever/lib64. The ../lib is hardcoded in the makefiles under build directory. Perhaps if there is a lib or libdir var that can be provided through make, with a default value if not provided by make. The patch that applies only on x86_64 would give you an idea of the change to the GNUmakefile [2]. [1] https://bugzilla.redhat.com/show_bug.cgi?id=730764#c1 [2] http://beckerde.fedorapeople.org/wxpdfdoc/GNUmakefile.patch kind regards Domingo Becker -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel