Re: [q-lang-users] Request to know about using Q in C++ programs
Brought to you by:
agraef
From: John C. <co...@cc...> - 2007-10-24 12:37:17
|
Borse, Ganesh scripsit: > Since, I want to embed the Q interpreter in my C++ application, is it > sufficient to use only the "libqint" library for this? Or do I need > to get all dependencies to link this library & use at run time with > my program? The Linux linker is smart enough to pull in all the dependencies, usually, but for the record they are -lq and -lgmp. On other operating systems YMMV; Cygwin requires explicit -lq -lgmp -liconv. > Other problem is that, I am not able to install RPMs > "q-7.8-5su101.i586.rpm" & "q-7.8-5.src.rpm" on my Linux OS because I > do NOT have root privileges. While installing SRC RPM I got an error: > error: cannot create %sourcedir /usr/src/redhat/SOURCES I have only > Red Hat Linux 3 (Taroon Updt1) & no SUSE. Can I have binaries for Red > Hat Linux also in tar.gz format? I recommend building from source in that case. It's very easy: * unpack the tarball $ ./configure --prefix=some/directory $ make $ make install -- John Cowan co...@cc... At times of peril or dubitation, http://www.ccil.org/~cowan Perform swift circular ambulation, With loud and high-pitched ululation. |