Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello, I looked at the manual for symlink which indicates the following:
SYMLINK(2) Linux Programmer's Manual SYMLINK(2)
NAME
symlink - make a new name for a file
SYNOPSIS
#include <unistd.h>
int symlink(const char *oldpath, const char *newpath);
I attempted the following:
#include <unistd.h>
int symlink (/usr/bin/scilab,/home/jnistler/scilab/scilab-3.1.1/bin/scilab);
and recieved the error below
bash: syntax error near unexpected token `('
I tried removing the '(' and
nistler@linux:~/scilab/scilab-3.1.1/bin> int symlink /usr/bin/scilab,/home/jnistler/scilab/scilab-3.1.1/bin/scilab;
bash: int: command not found
I am using Suse 10.0 on a 64 bit Athlon and working with a program called Scilab. I am having trouble with tk windows that another person has verified he is not having. I want to set up the symlink to see if this corrects the problem.
The reference that you listed is from the programmers guide, and is a snippet of C code, not a shell command. What you need to do is make sure that your paths are correct for the tk packages, and that you have all of the dependancies loaded. Are you running from a download directly from their site? Suse uses rpms, so installing scilab from a properly created rpm should resolve most of the dependancy issues. Try downloading from http://rpmforge.net/user/packages/scilab/. I haven't found a package specific to Suse 10 64 bit edition (or any other 64 bit rpm based distro for that matter), but someone may have built one.
I set up a mirror site in Europe which had an rpm setup and used YAST to install Scilab originally. What I do not know is if YAST looks at the version numbers associated with Scilab and upgrades now that I have it installed already. A colleague uses Debian on a 32 bit system and has no issue.
The link referring to Scilab-3.1.1 is a binary directly downloaded from the scilab.org site. Thanks.
I looked at the SciLab site, and they do have the latest binary in a tar file. The real problem here is in dependencies. This is the one area that Linux needs to have a standardized packaging system (other than a tarball). I'm not sure how Debian resolves their dependancy issues.
What you could do is download the source tarball, extract it, and run (from the directory that it creates) "./conifgure". If it comes back ok, run "make", and "make install". That should at least let you know what libraries/dependancies it is missing.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.