Re: [racket-users] Is this a good uninstall then install Racket plan...

2021-04-14 Thread Don Green
All I really need to do is click [Check Syntax] button in DrRacket and all 
the modules/files in the program recompile.  So there really is no problem.
Took me a while to realize this.
I would still like confirmation that it should be okay for me to clean up 
by removing all versions of Racket that are no longer current (by: raco pkg 
remove ...)
And I would still like to know that if I don't remove previously installed 
versions of Racket, that I can switch between them. How does one make a 
previously installed version - current.  (I might choose to keep them 
installed if it is possible to ocassionally make use of them. If it is not 
possible to make any of them current, then there is no point in keeping 
them on my system.)
Thanks.  Don.

On Tuesday, April 13, 2021 at 8:42:18 PM UTC-6 Philip McGrath wrote:

> On Tue, Apr 13, 2021 at 10:31 PM John Clements  
> wrote:
>
>> What if he has directories that aren’t part of an installed package? That 
>> was my concern, and why I suggested manually deleting compiled subdirs.
>>
>
> That's right, but given:
>
> On Tue, Apr 13, 2021 at 8:16 PM Don Green  wrote:
>
>> Welcome to Racket v8.0 [cs].
>> > (current-library-collection-paths)
>> '(#
>>   #
>>   #)
>>
>> My code files all begin here: /home/don/.plt-scheme/4.2.1/collects/...
>>
>
> It looks like the code files are all linked as collections directly (i.e. 
> not via the package system). I think `raco setup --clean && raco setup` 
> should take care of anything under those directory trees (recursively).
>
> -Philip
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/26a00595-092e-4b23-b3e9-233432e5dd8en%40googlegroups.com.


Re: [racket-users] Is this a good uninstall then install Racket plan...

2021-04-13 Thread Philip McGrath
On Tue, Apr 13, 2021 at 10:31 PM John Clements 
wrote:

> What if he has directories that aren’t part of an installed package? That
> was my concern, and why I suggested manually deleting compiled subdirs.
>

That's right, but given:

On Tue, Apr 13, 2021 at 8:16 PM Don Green 
wrote:

> Welcome to Racket v8.0 [cs].
> > (current-library-collection-paths)
> '(#
>   #
>   #)
>
> My code files all begin here: /home/don/.plt-scheme/4.2.1/collects/...
>

It looks like the code files are all linked as collections directly (i.e.
not via the package system). I think `raco setup --clean && raco setup`
should take care of anything under those directory trees (recursively).

-Philip

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/01000178ce42001c-bfac9d6d-505f-4c5a-b532-7738980da227-00%40email.amazonses.com.


Re: [racket-users] Is this a good uninstall then install Racket plan...

2021-04-13 Thread 'John Clements' via Racket Users
What if he has directories that aren’t part of an installed package? That was 
my concern, and why I suggested manually deleting compiled subdirs.

John

> On Apr 13, 2021, at 18:58, Philip McGrath  wrote:
> 
> On Tue, Apr 13, 2021 at 8:21 PM 'John Clements' via Racket Users 
>  wrote:
> It sounds to me like the solution might be much much simpler than 
> re-installing an earlier version of racket. Here’s what I recommend.
> 
> 1) Delete all of the “compiled” subdirectories in your development path.
> 2) run “raco setup”.
> 
> I think you should be able to automate finding and updating the "compiled" 
> subdirectories by running:
> 
> raco setup --clean && raco setup
>  
> -Philip
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/racket-users/01000178ce19df5f-46515da8-c86d-4a02-ad84-615dc7c8bc7d-00%40email.amazonses.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/a2b3fb74-a80c-42fd-ab2f-1c7bd577a983%40mtasv.net.


Re: [racket-users] Is this a good uninstall then install Racket plan...

2021-04-13 Thread Philip McGrath
On Tue, Apr 13, 2021 at 8:21 PM 'John Clements' via Racket Users <
racket-users@googlegroups.com> wrote:

> It sounds to me like the solution might be much much simpler than
> re-installing an earlier version of racket. Here’s what I recommend.
>
> 1) Delete all of the “compiled” subdirectories in your development path.
> 2) run “raco setup”.
>

I think you should be able to automate finding and updating the "compiled"
subdirectories by running:

raco setup --clean && raco setup

-Philip

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/01000178ce19df5f-46515da8-c86d-4a02-ad84-615dc7c8bc7d-00%40email.amazonses.com.


Re: [racket-users] Is this a good uninstall then install Racket plan...

2021-04-13 Thread 'John Clements' via Racket Users
Thanks for clarifying!

It sounds to me like the solution might be much much simpler than re-installing 
an earlier version of racket. Here’s what I recommend.

1) Delete all of the “compiled” subdirectories in your development path.
2) run “raco setup”.

It seems likely to me that this will solve the problem you’re seeing, and is 
very unlikely to break anything that’s not currently broken.

There are other more complicated or refined versions of this, but at the end of 
the day, this error is probably solved by just moving the offending file out of 
the way.

John


> On Apr 13, 2021, at 5:16 PM, Don Green  wrote:
> 
> I have several versions of racket installed on Ubuntu linux at default linux 
> locations.
> I think I should uninstall them all.
> Then after downloading a PPA from the racket web site
> install the version I want to a single directory. (I would be downloading 
> version: 7.8)
> Does this sound like a plan sound okay?
> 
> I gather from the comments I have received from John Clements, that he 
> suspects I am having some sort of problem that is motivating the desire to 
> return to an earlier version
> of Racket. 
> 
> I believe the problem is where I have placed my racket code files.
> I've been putting off moving them and would like to continue putting off 
> moving them.
> 
> I inadvertently upgraded to Racket v8.0 a couple of days ago. 
> 
> Welcome to Racket v8.0 [cs].
> > (current-library-collection-paths)
> '(#
>   #
>   #)
> 
> My code files all begin here: /home/don/.plt-scheme/4.2.1/collects/...
> 
> Racket error message when I run:
> $ my-prog
> read-compiled-linklet: version mismatch  expected: "8.0"  found: "7.8"  in: 
> /home/don/.plt-scheme/4.2.1/collects/DG/all/a/b/fn/filename-from-path-and-filename/compiled/filename-from-path-and-filename_ss.zo
> 
> So, since my compiled file was compiled under Racket version 7.8, there is a 
> mismatch since the Racket now installed is Racket v. 8.0.  Thus the reason 
> I'd like to return to running Racket v. 7.8.
> Thanks for your advice.
> Don
> 
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/racket-users/134d170b-500d-4959-b842-6d4713329ffdn%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/16be474f-ca60-480f-af73-6b6c5e9a4cc9%40mtasv.net.