Hello, I am using quantian *0.7.9.2 *live dvd and i am a total newbie to linux. I am really unable to use ginac. Firstly, locate ginac-config doesnt give any results. whereas locate ginac gives: *locate: warning: database `/var/cache/locate/locatedb' is more than 8 days old /usr/lib/libginac-1.3.so.2 /usr/lib/libginac-1.3.so.2.1.0 /usr/share/doc/ginac-tools /usr/share/doc/ginac-tools/AUTHORS /usr/share/doc/ginac-tools/changelog.Debian.gz /usr/share/doc/ginac-tools/changelog.gz /usr/share/doc/ginac-tools/copyright /usr/share/doc/ginac-tools/NEWS.gz /usr/share/doc/ginac-tools/README /usr/share/doc/libginac1.3c2a /usr/share/doc/libginac1.3c2a/AUTHORS /usr/share/doc/libginac1.3c2a/changelog.Debian.gz /usr/share/doc/libginac1.3c2a/changelog.gz /usr/share/doc/libginac1.3c2a/copyright /usr/share/doc/libginac1.3c2a/NEWS.gz /usr/share/doc/libginac1.3c2a/README /usr/share/menu/ginac-tools /usr/share/pixmaps/ginac.xpm /var/lib/dpkg/info/ginac-tools.list /var/lib/dpkg/info/ginac-tools.md5sums /var/lib/dpkg/info/ginac-tools.postinst /var/lib/dpkg/info/ginac-tools.postrm /var/lib/dpkg/info/libginac1.3c2.list /var/lib/dpkg/info/libginac1.3c2.postrm /var/lib/dpkg/info/libginac1.3c2a.list /var/lib/dpkg/info/libginac1.3c2a.md5sums /var/lib/dpkg/info/libginac1.3c2a.postinst /var/lib/dpkg/info/libginac1.3c2a.postrm /var/lib/dpkg/info/libginac1.3c2a.shlibs *Guys, please help me out here. How do i link ginac to my C++ code using g++? Thanks a lot for going through this mail with regards, aravind * *
Hi, On Sat, Nov 04, 2006 at 07:05:53PM -0500, aravind b wrote:
I am using quantian *0.7.9.2 *live dvd and i am a total newbie to linux. I am really unable to use ginac. Firstly, locate ginac-config doesnt give any results. whereas locate ginac gives:
*locate: warning: database `/var/cache/locate/locatedb' is more than 8 days old /usr/lib/libginac-1.3.so.2 /usr/lib/libginac-1.3.so.2.1.0 /usr/share/doc/ginac-tools /usr/share/doc/ginac-tools/AUTHORS /usr/share/doc/ginac-tools/changelog.Debian.gz /usr/share/doc/ginac-tools/changelog.gz /usr/share/doc/ginac-tools/copyright /usr/share/doc/ginac-tools/NEWS.gz /usr/share/doc/ginac-tools/README /usr/share/doc/libginac1.3c2a /usr/share/doc/libginac1.3c2a/AUTHORS /usr/share/doc/libginac1.3c2a/changelog.Debian.gz /usr/share/doc/libginac1.3c2a/changelog.gz /usr/share/doc/libginac1.3c2a/copyright /usr/share/doc/libginac1.3c2a/NEWS.gz /usr/share/doc/libginac1.3c2a/README /usr/share/menu/ginac-tools /usr/share/pixmaps/ginac.xpm /var/lib/dpkg/info/ginac-tools.list /var/lib/dpkg/info/ginac-tools.md5sums /var/lib/dpkg/info/ginac-tools.postinst /var/lib/dpkg/info/ginac-tools.postrm /var/lib/dpkg/info/libginac1.3c2.list /var/lib/dpkg/info/libginac1.3c2.postrm /var/lib/dpkg/info/libginac1.3c2a.list /var/lib/dpkg/info/libginac1.3c2a.md5sums /var/lib/dpkg/info/libginac1.3c2a.postinst /var/lib/dpkg/info/libginac1.3c2a.postrm /var/lib/dpkg/info/libginac1.3c2a.shlibs
It looks like libginac-dev package (which contains static library, headers and ginac-config script) is not installed. You can check this with apt-cache policy libginac-dev or dpkg -l libginac-dev
*Guys, please help me out here. How do i link ginac to my C++ code using g++?
There is nothing special about GiNaC, proceed just like with any other C++ library out of there. Best regards, Alexei. -- All science is either physics or stamp collecting.
hi alexei, thanks a lot for the reply. however dpkg command gives the following: root@1[/]# dpkg -l libginac-dev No packages found matching libginac-dev. However, in aptitude, libginac shows up in the installed packages. As i am using a live dvd, i cannot upgrade or install anything from the web. Is installing debian on my hard disk, the only way out if i want to use ginac ? :( On 11/5/06, Sheplyakov Alexei <varg@theor.jinr.ru> wrote:
Hi,
On Sat, Nov 04, 2006 at 07:05:53PM -0500, aravind b wrote:
I am using quantian *0.7.9.2 *live dvd and i am a total newbie to linux. I am really unable to use ginac. Firstly, locate ginac-config doesnt give any results. whereas locate ginac gives:
*locate: warning: database `/var/cache/locate/locatedb' is more than 8 days old /usr/lib/libginac- 1.3.so.2 /usr/lib/libginac-1.3.so.2.1.0 /usr/share/doc/ginac-tools /usr/share/doc/ginac-tools/AUTHORS /usr/share/doc/ginac-tools/changelog.Debian.gz /usr/share/doc/ginac-tools/changelog.gz /usr/share/doc/ginac-tools/copyright /usr/share/doc/ginac-tools/NEWS.gz /usr/share/doc/ginac-tools/README /usr/share/doc/libginac1.3c2a /usr/share/doc/libginac1.3c2a/AUTHORS /usr/share/doc/libginac1.3c2a/changelog.Debian.gz /usr/share/doc/libginac1.3c2a/changelog.gz /usr/share/doc/libginac1.3c2a/copyright /usr/share/doc/libginac1.3c2a/NEWS.gz /usr/share/doc/libginac1.3c2a/README /usr/share/menu/ginac-tools /usr/share/pixmaps/ginac.xpm /var/lib/dpkg/info/ginac-tools.list /var/lib/dpkg/info/ginac-tools.md5sums /var/lib/dpkg/info/ginac-tools.postinst /var/lib/dpkg/info/ginac-tools.postrm /var/lib/dpkg/info/libginac1.3c2.list /var/lib/dpkg/info/libginac1.3c2.postrm /var/lib/dpkg/info/libginac1.3c2a.list /var/lib/dpkg/info/libginac1.3c2a.md5sums /var/lib/dpkg/info/libginac1.3c2a.postinst /var/lib/dpkg/info/libginac1.3c2a.postrm /var/lib/dpkg/info/libginac1.3c2a.shlibs
It looks like libginac-dev package (which contains static library, headers and ginac-config script) is not installed. You can check this with
apt-cache policy libginac-dev
or
dpkg -l libginac-dev
*Guys, please help me out here. How do i link ginac to my C++ code using g++?
There is nothing special about GiNaC, proceed just like with any other C++
library out of there.
Best regards, Alexei.
-- All science is either physics or stamp collecting.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux)
iQIVAwUBRU3bRrL3rFoFceCwAQIFdg//WhhPPDpK2VDXvzriU3AiwRwGeYWDOSsl W1+7+F15cXOetTolCkA12YE6ItTKgCAv2ADpDeT6ZLRg/9JxUUvabNLnfiSTxUiv aYOwtxnGREAtaaUSxn+LuUbfb1YCXQP39vhyrJwora3iBQSUcijyBsU/AT71ea/L 8UE1gNHgPoZUdRFrJmrYUqnWNiMni/q5WIDRz8w+Z2/bdZ/mIdTYPWNGFAJJbHs5 FQzLW3Gfh0lwRrVCdsK9a+Rjrxv/XuMrJw42/xDQQdELJBKlMYjewnFqostsGuQ/ oul6+c7IRLHAvdvb03/Bg0CGTRm8kGG3qENz5KqT+5e5BgGk74r1sOCz5aHuV0Xo 5dgOV3RMYoQmOC8C366rH5nqWFf1alsngi5oUAkJjOimhb+W7eZKCLnBE2dCkfTl EKZNV3UAK3Nz7dIMJvQisqSL9ktRYtD/R7loZiBITbk/uCXCD7urJiksMUeMr1Vi AUEtsBvB85yaTMva5adyxjjA6LE4eOxURXJMT985JcWuzAkJb5bT7Wq0YN7+I12E 1mf4DQ/7Ibe9REVngD5KyIfJhZ+GKw9PL5QQ1JZ/i3tS+0JpsWkZXDjlYoIHiuHY +9Z5tFAh4LZpFM2TAVq1pSm/AXrNt8cIFhemP5KpT0RvaECDK/kjIJCbF5ZWFoq7 8Z7chK5TXAI= =E9mU -----END PGP SIGNATURE-----
_______________________________________________ GiNaC-list mailing list GiNaC-list@ginac.de https://www.cebix.net/mailman/listinfo/ginac-list
Hi, On Mon, 6 Nov 2006, aravind b wrote:
Is installing debian on my hard disk, the only way out if i want to use ginac ? :(
You can also use a live distribution that includes the required files. See here: http://www.knoppix-math.org/ . This is a live distribution that contains a lot of mathematical software. Good luck! Chris
Hello, On Mon, 6 Nov 2006, aravind b wrote:
however dpkg command gives the following: root@1[/]# dpkg -l libginac-dev No packages found matching libginac-dev.
In plain English that means "package libginac-dev is not installed".
However, in aptitude, libginac shows up in the installed packages.
libginac1.3* contains only shared library, so it is sufficient for running *already compiled* programs. But for compiling/linking with GiNaC you need also libginac-dev.
As i am using a live dvd, i cannot upgrade or install anything from the web.
Technically, this is not true: installing packages on KNOPPIX (and probably any derived distro) _without remastering_ is possible. Regular 'aptitude install', 'dpkg -i' work fine. Best regards, Alexei -- All science is either physics or stamp collecting.
thanks a lot chris and alexei, i will try out your suggestions. as i said, i am a total newbie to linux for that matter to unix so please bear with my dumb questions ! On 11/6/06, Sheplyakov Alexei <varg@theor.jinr.ru> wrote:
Hello,
On Mon, 6 Nov 2006, aravind b wrote:
however dpkg command gives the following: root@1[/]# dpkg -l libginac-dev No packages found matching libginac-dev.
In plain English that means "package libginac-dev is not installed".
However, in aptitude, libginac shows up in the installed packages.
libginac1.3* contains only shared library, so it is sufficient for running *already compiled* programs. But for compiling/linking with GiNaC you need also libginac-dev.
As i am using a live dvd, i cannot upgrade or install anything from the web.
Technically, this is not true: installing packages on KNOPPIX (and probably any derived distro) _without remastering_ is possible. Regular 'aptitude install', 'dpkg -i' work fine.
Best regards, Alexei
-- All science is either physics or stamp collecting.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux)
iQIVAwUBRU9N/rL3rFoFceCwAQJ2MxAAgItR/KA8LCxByJ43sb0WiwkKcKYLHT7C n9WrPQHLXa/aYVEpqvqrKxwMeU36FD83+aJaVGiUMael20bwq6lE8r9YBXLrV4F8 wJtZN6QejOinULENYMv5pR+V6AlycPZjeO+VoNdiCaFEfyP8CRJDDhdaSYvo/Cs7 +dB+f9F6wjuOlhOmJMumnVDswDEE4xWM1v4hlnDDtgd3xCsP5J3yX6fUhVP/Hmxa YAbQJ8eKb2VA3okgH2a0o04EwZGMcqtZSwvvMmdd+aCBpmPtZCZb8IC7Mv09jwIo m/Z9q+822ByhMMD/IhcSWLqR2YwBENPL1+8hsvjn0CvPX9lgQFxRdLYdR+TavhLL +M9Z7f6knQlIBGelIJdUzIl+nAevIn4ITufmRToB1Ek9ifFckN4vNdnITJcb9uQf XkCtdpTYWegxq5WEWC36XOy99sQSsGo2VF+R4ZWf9Fr9Pundmd6uMhHP88TNJ2Jm ebH8u9TewFodk+peIvdUvunWXztnaPTAS9KZQGdCT8ls3ZYuVm29u04cx8QsnK5Y fFvzo4pbZGY5wlbkNcDPb3W6j4slna7CtWlXAN/8wnFi6CtIuLI263K2GvfILsum hYdx6DY5yJUVba00VaUkHVWdXlieP4PYrhy2Uz+2GcWISztNGD1fBUx5DUQKi/fT HkpeVFXQJzQ= =kDUE -----END PGP SIGNATURE-----
_______________________________________________ GiNaC-list mailing list GiNaC-list@ginac.de https://www.cebix.net/mailman/listinfo/ginac-list
K guys, after much kicking and rolling i had given in to the pressure ! - I installed ubuntu on my hdd with the help of a friend of mine( you must recollect that i am a linux simpleton). The synaptic application is just awesome - installing ginac was just a piece of cake. The ginac-config works w/o any problems Thanks so much alexei, and chris for your time; i really appreciate your help ! On 11/6/06, aravind b <baravi2005@gmail.com> wrote:
thanks a lot chris and alexei, i will try out your suggestions. as i said, i am a total newbie to linux for that matter to unix so please bear with my dumb questions !
On 11/6/06, Sheplyakov Alexei <varg@theor.jinr.ru> wrote:
Hello,
On Mon, 6 Nov 2006, aravind b wrote:
however dpkg command gives the following: root@1[/]# dpkg -l libginac-dev No packages found matching libginac-dev.
In plain English that means "package libginac-dev is not installed".
However, in aptitude, libginac shows up in the installed packages.
libginac1.3* contains only shared library, so it is sufficient for running *already compiled* programs. But for compiling/linking with GiNaC you need also libginac-dev.
As i am using a live dvd, i cannot upgrade or install anything from the web.
Technically, this is not true: installing packages on KNOPPIX (and probably any derived distro) _without remastering_ is possible. Regular 'aptitude install', 'dpkg -i' work fine.
Best regards, Alexei
-- All science is either physics or stamp collecting.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux)
iQIVAwUBRU9N/rL3rFoFceCwAQJ2MxAAgItR/KA8LCxByJ43sb0WiwkKcKYLHT7C n9WrPQHLXa/aYVEpqvqrKxwMeU36FD83+aJaVGiUMael20bwq6lE8r9YBXLrV4F8 wJtZN6QejOinULENYMv5pR+V6AlycPZjeO+VoNdiCaFEfyP8CRJDDhdaSYvo/Cs7 +dB+f9F6wjuOlhOmJMumnVDswDEE4xWM1v4hlnDDtgd3xCsP5J3yX6fUhVP/Hmxa YAbQJ8eKb2VA3okgH2a0o04EwZGMcqtZSwvvMmdd+aCBpmPtZCZb8IC7Mv09jwIo m/Z9q+822ByhMMD/IhcSWLqR2YwBENPL1+8hsvjn0CvPX9lgQFxRdLYdR+TavhLL +M9Z7f6knQlIBGelIJdUzIl+nAevIn4ITufmRToB1Ek9ifFckN4vNdnITJcb9uQf XkCtdpTYWegxq5WEWC36XOy99sQSsGo2VF+R4ZWf9Fr9Pundmd6uMhHP88TNJ2Jm ebH8u9TewFodk+peIvdUvunWXztnaPTAS9KZQGdCT8ls3ZYuVm29u04cx8QsnK5Y fFvzo4pbZGY5wlbkNcDPb3W6j4slna7CtWlXAN/8wnFi6CtIuLI263K2GvfILsum hYdx6DY5yJUVba00VaUkHVWdXlieP4PYrhy2Uz+2GcWISztNGD1fBUx5DUQKi/fT HkpeVFXQJzQ= =kDUE -----END PGP SIGNATURE-----
_______________________________________________ GiNaC-list mailing list GiNaC-list@ginac.de https://www.cebix.net/mailman/listinfo/ginac-list
participants (3)
-
aravind b
-
Chris Dams
-
varg@theor.jinr.ru