If you're using something like RedHat Linux, you could try the "locate" command for each of these (without the star as it does wildcard searching on its own). One way to see if you do is to check the directories "/usr/lib" and "/usr/local/lib" for files that look like "libgd*," "libjpeg*," "libpng*," and "libgif*". Again, you may already have some of these libraries, so you needn't panic just yet. There are a number of dependencies including the zlib compression library and whatever image libraries you want, like JPEG, libpng, and libgif. Installation of libgd can easily be one of the more frustrating parts of this installation. This version of CMap assumes you have the latest versions of libgd and GD.pm in order to produce GIFs. Note that as of version 2.0.28, libgd produces GIF images again. If it complains that it can't find libgd, then come back here. To check, you could just skip this step for now and wait to see if the Perl module GD.pm will install properly. With any luck, you may already have it on your system if you have a GNU/Linux system. Versions of CMap before 0.10 would work with either the 1.x or 2.x version of libgd, but the new dependency on GD::SVG for creating SVG output necessitates libgd 2.x. Unfortunately, unless your operating system can install libgd via a package manager, you're pretty much on your own for installing libgd. NOTE: To get GD.pm to install when using a packaged libgd, you may have to install the gd-devel package as well (fedora: gd-devel.i386, Ubundu: libgd2-xpm-dev). In Ubuntu, using the graphical synaptic package manager is easier ("$ sudo synaptic"). On a Fedora/Red Hat machine, the command "$ sudo yum list all | less" will give you a list of the packages. It is sometimes helpful to see a list of available packages. If you are using a modern version of Linux, you should be able to use a package manager to install at least some of these packages. As such, CMap should actually work with any web server that supports CGI, not just Apache (e.g., Microsoft IIS, Netscape, etc.). Versions prior to 0.10 required mod_perl, but this is no longer the case. There are quite a number of prerequisites to getting CMap running:Ī database (MySQL, Oracle 9x, Sybase, PostgreSQL, SQLite)Ī web server, Apache version 1.3.x or 2.x suggested If you need further instructions, read on. This is easy if you have a CMap database already constructed (if not it will ask to set up a CMap database in MySQL). This will import test data into the database and create the needed config file. Note: The install script will ask if you want to create a demo. Import your data or the sample data included in the "data" directory Modify configuration information in "/path/to/conf/nf/*.conf" Build install" install any other Perl modules reported missing by the build process Install Perl 5.6.1 or greater and a web server with CGI capabilities (e.g., Apache 1.3.x or 2.x)Įxecute "perl Build.PL. Install the database of your choice (MySQL, PostgreSQL, Oracle, Sybase, SQLite) create tables with contents of "sql" directory grant appropriate user permissions If you are installing CMap anew and are pretty experienced with Unix systems administration, here is the very abbreviated explanation of how to install CMap: Double click the sktop file present in the applications folder for launching cmaptoolĦ.If you are upgrading from a previous version of Cmap, please see the "upgrade" directory. Path_to_icon is the path to the icon (any image can used as an icon e.g., /opt/cmaptool/cmaptools_icon.png )Įnter the following command for necessary permissions (sktop is the file we just created using gedit, if you have used another name ,then use that name)ĥ. Path_to_run_cmaptool is the path to the executable file of CmapTools e.g., mine is /opt/cmaptool/./CmapTools Name=CmapTools Comment=Applicatioin used for creating concept map Exec=path_to_run_cmaptool Icon=path_to_icon Terminal=false Type=Application Categories=Education desktop extension can be used, here I used the name cmaptool) Press Ctrl+Alt+T for launching TerminalĬopy and paste the following into editor and save the file with the name “sktop” ( any named file with. ![]() ![]() For Creating Launcher, Follow the following steps in the Terminal :
0 Comments
Leave a Reply. |