[sac-user] sac installation
Sunita Chandrasekaran
sunisg123 at gmail.com
Wed Jun 11 07:49:29 BST 2008
SAC-0_91-LINUX_X86-28_Jan02
>
> .tar.gz
*this version got compiled okay *
*am able to run the demo*
On Wed, Jun 11, 2008 at 1:24 PM, Sunita Chandrasekaran <sunisg123 at gmail.com>
wrote:
> ok, will do that now..and get back to u
>
> meanwhile i compiled this version
>
> SAC-0_91-LINUX_X86-28_Jan02.tar.gz
> it got compiled okay ...i presume..
> wrote a hello.sac program
> use StdIO: all;
> use Array: all;
> int main()
> {
> printf("hello world\n");
> return 0;
> }
> saved it as hello.sac
> *
> got these errors*
>
>
> sunita at sunita-desktop:~/sac$ ls
> demo hello.sac
> sunita at sunita-desktop:~/sac$ sac2c hello.sac > logfile
> hello.sac:1:ERROR: parse error at pos 10: ':` !
> :ERROR: use StdIO: all;
> :ERROR: ^
>
> *** Compilation failed ***
> *** Exit code 2 (Loading SAC program)
> *** 1 Error(s), 0 Warning(s)
>
>
>
> On Wed, Jun 11, 2008 at 1:19 PM, Stephan Herhut <s.a.herhut at herts.ac.uk>
> wrote:
>
>> Hi Sunita,
>>
>> the attached output seems not to contain any errors. Most of it is the
>> usual output of the dependency building mechanism. The part
>> complaining about the missing C libraries for DISLIN can be ignored as
>> long as you do not plan to use DISLIN. Can you compile the demos in
>> the sac directory?
>>
>> Regards
>> Stephan
>>
>> On Wed, Jun 11, 2008 at 4:29 AM, Sunita Chandrasekaran
>> <sunisg123 at gmail.com> wrote:
>> > Hi
>> >
>> >
>> > Trying to install sac compiler on linux machine, ubuntu.
>> > Exported path etc.
>> >
>> > Attaching herewith the compilation error file for your reference.
>> > It gives me series of errors. Please let me know your inputs.
>> >
>> > Thanks
>> > sunita
>> >
>> > _______________________________________________
>> > sac-user mailing list
>> > sac-user at sac-home.org
>> > http://lists.sac-home.org/mailman/listinfo.cgi/sac-user
>> >
>> >
>>
>>
>>
>> --
>> Stephan Herhut
>> Centre for Computer Science and Informatics Research
>> Science and Technology Research Institute
>> University of Hertfordshire
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sac-home.org/pipermail/sac-user/attachments/20080611/74d7ed4d/attachment-0002.html
More information about the sac-user
mailing list