11-03-2008
Quote:
Originally Posted by
pedrosacosta
Hi,
I've a C++ project that uses cairo graphics libraries (see
cairographics.org).
In my class I do
#include <cairo.h>
If I must install the cairo graphics program, I must be root. What I want is that this library only be acessed by this project. Talking in Java language, I would love that cairo library would be a jar, that will be acessed in my project. How can this be possible in C++ world?
Thanks,
Pedro
After you install the Cairo package, the header files and the libraries files i.e. *.so (unix equivalent of dll) will be available. You would use the API's mentioned in the header files and you would need these library files to compile.
Another way would be to load the .so dynamically using dlopen, dlsym and dlclose calls. But this would be so much of an overhead.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
I need to access files from a specific folder of a Linux system from an another Linux System Remotely.
I know how to, Export a folder on One SCO System & can access the same by using Import via., NFS in the Sco Unix SVR4 System using the scoadmin utility.
Also, I know to use mount -t ... (2 Replies)
Discussion started by: S.Vishwanath
2 Replies
2. Programming
I can not locate package sys/mkdev.h on HP-UX or Linux. Is it a special package or something? (9 Replies)
Discussion started by: laila63
9 Replies
3. IP Networking
How is Libnet and libpcap are useful in sending a packet through DLL layer
and sniff network layer?
and how sinffers are used to track ip adresses provided Mac adresses? (1 Reply)
Discussion started by: netsavy
1 Replies
4. UNIX for Dummies Questions & Answers
I am slowly ploughing my way through the list of links to on-line tutorials you provided to newbies. I for one am grateful for such a comprehensive list, so first of all thank you for that.
What i cannot seem to find, is information on C++ libraries:
The two links on libraries in your list... (0 Replies)
Discussion started by: pil888
0 Replies
5. Shell Programming and Scripting
Hello,
I need to use two different libraries like /usr/local/bin/expect and /usr/bin/ksh at the same script. Is it possible? (4 Replies)
Discussion started by: fozay
4 Replies
6. Programming
I'm a rookie to C and i'm looking for some libraries to learn,something likes the C++ STL or Boost ,does any1 can tell me some of them?Thanks a lot:)
Eric (3 Replies)
Discussion started by: homeboy
3 Replies
7. UNIX for Dummies Questions & Answers
hi all,
i want to know y kernel is giving access for multiple users to access a file when one user may be the owner is executing that file. Because other user can manipulate that file when the other user is executing that file, it will give the unexpected result to owner . plz help me... (1 Reply)
Discussion started by: jimmyuk
1 Replies
8. IP Networking
Hi
Good Day, i would like to ask for further info about my problems experiencing this evening. Im a PPP0 connection in the internet using 3G located in asia pacific region.i had this problem this evening in my INTERNET connections that there are some sites i can't open example ( Gizmodo.com,... (2 Replies)
Discussion started by: jao_madn
2 Replies
9. Solaris
Hi All,
I want to configure samba share permission so that only directory creator/owner has a read and write permission and other users should not have any read/write access to that folder.Will that be possible and how can this be achieved within samba configuration.
Regards,
Sahil (1 Reply)
Discussion started by: sahil_shine
1 Replies
10. Proxy Server
Dear all experts here,
:)
I would like to install a proxy server on Linux server to perform solely to control the access of Web server.
In this case, some of my vendor asked me to try Squid and I have installed it onto my Linux server.
I would like know how can I set the configuration to... (1 Reply)
Discussion started by: kwliew999
1 Replies
LEARN ABOUT DEBIAN
gauche-config
GAUCHE-CONFIG(1) Gauche Commands GAUCHE-CONFIG(1)
NAME
gauche-config - retrieve configuration parameters of Gauche
SYNOPSIS
gauche-config option
DESCRIPTION
Gauche-config displays various parameters specified at the configuration time of the Gauche Scheme implementation. It can be used in Make-
file and other configuration scripts that uses Gauche.
OPTIONS
General parameters
-V Gauche version.
--reconfigure
Prints the command line used to configure the current Gauche installation. It is pretty handy to configure another Gauche source tree
with the same configuration; just type `gauche-config --reconfigure | sh'.
Parameters to compile an application using Gauche
-I, -L, -l
List of "-I" options (include directories), "-L" options (library directories), and "-l" options (libraries) for the compiler which
are required to compile applications that links Gauche library.
--cc Name of the compiler used to compile the current installation.
--ac Directory name that contains Gauche specific autoconf macro.
--arch The architecture signature, which is used in the pathname of architecture-dependent files, e.g. "i686-pc-linux-gnu".
Parameters to install files
--syslibdir, --sysarchdir, --sysincdir
Directories where the Gauche core system's Scheme files, architecture-dependent files, and header files are installed, respectively.
These directories belong to Gauche core; additional packages should not put files in them.
--sitelibdir, --sitearchdir, --siteincdir
Directories where the additional packages will put Scheme files, architecture-dependent files, and header files, respectively.
--pkglibdir, --pkgarchdir, --pkgincdir
Same as --sitelibdir etc, except that the base directory name is left as `${datadir}'. The result is suitable to be embedded in
Makefiles, for the base directory could be overridden at build time rather than configure time. The default template for Gauche
extension packages use these options.
--mandir, --infodir
Directories where gauche manpage and info docs are installed.
Parameters to compile Gauche extention
--object-suffix
Extension of the compiled objects (e.g. 'o').
--executable-suffix
Suffix of the executable (usually empty on Unix variants, and '.exe' on Windows. Note that '.' is a part of suffix in this option,
as opposed to other -suffix options.
--so-suffix
Extension of the dynamically loadable (dlopen-able) modules (e.g. 'so' or 'dll').
--so-cflags
Flags required to compile shared object.
--so-ldflags
Flags required to link a gauche extension.
--so-libs
Libraries to be linked with a gauche extension.
--dylib-suffix
Suffix for dynamically linked libraries. Some unix variants require special suffix (such as 'dylib'). On other platforms this is
the same as '--so-suffix'.
--dylib-ldflags
Flags required to link dynamically linked library file. Some unix variants require special flags. On other platforms this is the
same as '--so-ldflags'.
--rpath-flag
Compler flag(s) to embed RPATH in the binary.
--libgauche-so
The name of shared library of libgauche.
AUTHORS
Shiro Kawai (shiro @ acm . org)
SEE ALSO
gosh(1), gauche-package(1)
Gauche Scheme script engine:
http://practical-scheme.net/gauche/
Gauche 0.9.1 GAUCHE-CONFIG(1)