Re: Experiment with sagemath and Polybori needs to be built

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> and my guess to what to do failed also :-) Need to read more wiki

  Learned about -a or --anonymous, but I used the sequence:
  CONFFILE=%{buildroot}%{_includedir}/polybori/flags.conf
perl -pi -e 's|%{buildroot}||g;' %{buildroot}%{_includedir}/polybori/flags.conf

that is, also moved it to /usr/include/polybori/flags.conf, otherwise
it would require masking who owns the file; in Mandriva I did a different
package approach, with ipbori in the main polybori package. Only issue
with putting it in /usr/include is that it then needs an extra patch to
sagemath's module_list.py:

...
 polybori_extra_compile_args = []
-for line in open(SAGE_LOCAL + "/share/polybori/flags.conf"):
+for line in open(SAGE_INC + "polybori/flags.conf"):
     if not line.startswith("CPPDEFINES"):
...

  Now, with polybori-devel installed, after some extra patches the
failure is:

...
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC
-fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC
-I/home/pcpa/rpmbuild/BUILDROOT/sagemath-4.8-0.1.x86_64/usr/share/sagemath/local/include
-Ic_lib/include
-I/home/pcpa/rpmbuild/BUILDROOT/sagemath-4.8-0.1.x86_64/usr/share/sagemath/devel/sage/sage/ext
-I/usr/include/python2.7 -c sage/graphs/cliquer.c -o
build/temp.linux-x86_64-2.7/sage/graphs/cliquer.o -w
sage/graphs/cliquer.c:235:27: fatal error: cliquer/graph.h: No such
file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
...

  I will later (probably tomorrow) use the srpm at
http://jjames.fedorapeople.org/cliquer/ but either way, the
package I use in Mandriva is
http://svn.mandriva.com/viewvc/packages/cooker/cliquer/

Thanks and sorry for replying to myself,
Paulo
_______________________________________________
scitech mailing list
scitech@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/scitech



[Index of Archives]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Triage]     [Deep Creek Hot Springs]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux