* Error while running the software
@ 2014-05-23 5:39 Gurjot Singh
2014-05-23 10:19 ` Nala Ginrut
2014-05-23 12:41 ` Gurjot Singh
0 siblings, 2 replies; 4+ messages in thread
From: Gurjot Singh @ 2014-05-23 5:39 UTC (permalink / raw)
To: guile-devel
Hi,
I am updating GNU Dr.Geo software, as my GSoC project, from guile 1.6
to guile 2.0.11 version. It is my first milestone.
I have changed many deprecated syntax to remove errors.
After that I did 'make'. But when I do 'sudo make install' it gives
the following result:
http://pastebin.com/m8uDCi0A
This is the install script:
http://goo.gl/RZ8mNf
I am experiencing the following error when trying to run 'drgeo':
ice-9/psyntax.scm:1274:12: In procedure dobody:
ice-9/psyntax.scm:1274:12: Syntax error:
unknown location: unexpected syntax in form ()
Here is the complete git repository of drgeo that I am currently working on.
http://git.savannah.gnu.org/cgit/dr-geo.git/tree/?h=upgrade
Thanks in advance
--
Gurjot Singh
Blog: http://bhattigurjot.wordpress.com
"You gotta get hurt 'cause that's how you'll learn, You gotta try your
hardest no matter how much you'll burn." ~ Scott Singh
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Error while running the software
2014-05-23 5:39 Error while running the software Gurjot Singh
@ 2014-05-23 10:19 ` Nala Ginrut
2014-05-23 12:41 ` Gurjot Singh
1 sibling, 0 replies; 4+ messages in thread
From: Nala Ginrut @ 2014-05-23 10:19 UTC (permalink / raw)
To: Gurjot Singh; +Cc: guile-devel
hi!
I found you used a lot of "gh_" functions which are the old APIs of
Guile. This may cause problems when you're compiling it with Guile-2.x.
Please change them to newer "scm_" APIs according the the manual:
https://www.gnu.org/software/guile/manual/guile.html#API-Reference
But I do think it's better to have a table for converting gh_* to
scm_*...Anyone know about it?
On Fri, 2014-05-23 at 11:09 +0530, Gurjot Singh wrote:
> Hi,
> I am updating GNU Dr.Geo software, as my GSoC project, from guile 1.6
> to guile 2.0.11 version. It is my first milestone.
> I have changed many deprecated syntax to remove errors.
>
> After that I did 'make'. But when I do 'sudo make install' it gives
> the following result:
> http://pastebin.com/m8uDCi0A
>
> This is the install script:
> http://goo.gl/RZ8mNf
>
> I am experiencing the following error when trying to run 'drgeo':
> ice-9/psyntax.scm:1274:12: In procedure dobody:
> ice-9/psyntax.scm:1274:12: Syntax error:
> unknown location: unexpected syntax in form ()
>
> Here is the complete git repository of drgeo that I am currently working on.
> http://git.savannah.gnu.org/cgit/dr-geo.git/tree/?h=upgrade
>
> Thanks in advance
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Error while running the software
2014-05-23 5:39 Error while running the software Gurjot Singh
2014-05-23 10:19 ` Nala Ginrut
@ 2014-05-23 12:41 ` Gurjot Singh
2014-05-23 14:18 ` Gurjot Singh
1 sibling, 1 reply; 4+ messages in thread
From: Gurjot Singh @ 2014-05-23 12:41 UTC (permalink / raw)
To: guile-devel
On 23 May 2014 11:09, Gurjot Singh <bhattigurjot@gmail.com> wrote:
> I am experiencing the following error when trying to run 'drgeo':
> ice-9/psyntax.scm:1274:12: In procedure dobody:
> ice-9/psyntax.scm:1274:12: Syntax error:
> unknown location: unexpected syntax in form ()
This error was solved(with the help from Nala) by replacing () with
'() in .scm file.
But now the following error comes up:
ice-9/psyntax.scm:1274:12: In procedure #<procedure 195c900 at
ice-9/psyntax.scm:1082:36 ()>:
ice-9/psyntax.scm:1274:12: Syntax error:
unknown location: unexpected syntax in form define
I think this is the syntax error in .scm files.
Any guidance?
--
Gurjot Singh
Blog: http://bhattigurjot.wordpress.com
"You gotta get hurt 'cause that's how you'll learn, You gotta try your
hardest no matter how much you'll burn." ~ Scott Singh
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Error while running the software
2014-05-23 12:41 ` Gurjot Singh
@ 2014-05-23 14:18 ` Gurjot Singh
0 siblings, 0 replies; 4+ messages in thread
From: Gurjot Singh @ 2014-05-23 14:18 UTC (permalink / raw)
To: guile-devel
On 23 May 2014 18:11, Gurjot Singh <bhattigurjot@gmail.com> wrote:
> This error was solved(with the help from Nala) by replacing () with
> '() in .scm file.
> But now the following error comes up:
> ice-9/psyntax.scm:1274:12: In procedure #<procedure 195c900 at
> ice-9/psyntax.scm:1082:36 ()>:
> ice-9/psyntax.scm:1274:12: Syntax error:
> unknown location: unexpected syntax in form define
>
> I think this is the syntax error in .scm files.
> Any guidance?
This was solved(with the help of lloda on #guile IRC) by changing the
syntax of define.
For example-
Old syntax:
(define дефиниши define)
New syntax:
(define-syntax дефиниши (syntax-rules () ((_ args ...) (define args ...))))
Thanks lloda :-)
--
Gurjot Singh
Blog: http://bhattigurjot.wordpress.com
"You gotta get hurt 'cause that's how you'll learn, You gotta try your
hardest no matter how much you'll burn." ~ Scott Singh
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-05-23 14:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-23 5:39 Error while running the software Gurjot Singh
2014-05-23 10:19 ` Nala Ginrut
2014-05-23 12:41 ` Gurjot Singh
2014-05-23 14:18 ` Gurjot Singh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).