[OT-ish] Need a Binary for lang/sml-nj
I've got an amd64 machine (and no spare) and need help getting a binary for lang/sml-nj (it won't compile on amd64, it's marked ignore for whatever reason). I can send someone a 'pciconf -lv' of my machine if it would help. Thanks! -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://owl.apotheon.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: [OT-ish] Need a Binary for lang/sml-nj
On Sat, 26 Jan 2013 12:23:42 -0600, Joseph A. Nagy, Jr wrote: > I've got an amd64 machine (and no spare) and need help getting a binary > for lang/sml-nj (it won't compile on amd64, it's marked ignore for > whatever reason). I can send someone a 'pciconf -lv' of my machine if it > would help. 1. Have you tried compiling anyway? :-) 2. Maybe you can install the i386 precompiled package for that software with $PACKAGESITE set accordingly, and it will probably run on amd64. 3. Check /usr/ports/lang/sml-nj/pkg-descr for inspiration about alternatives. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: [OT-ish] Need a Binary for lang/sml-nj
On 01/26/13 13:44, Polytropon wrote: On Sat, 26 Jan 2013 12:23:42 -0600, Joseph A. Nagy, Jr wrote: I've got an amd64 machine (and no spare) and need help getting a binary for lang/sml-nj (it won't compile on amd64, it's marked ignore for whatever reason). I can send someone a 'pciconf -lv' of my machine if it would help. 1. Have you tried compiling anyway? :-) no, I've learned my lesson with trying to compile software when it's marked ignore. 2. Maybe you can install the i386 precompiled package for that software with $PACKAGESITE set accordingly, and it will probably run on amd64. The official pkg repo's don't exist at the moment. 3. Check /usr/ports/lang/sml-nj/pkg-descr for inspiration about alternatives. :-) Thanks (: -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://owl.apotheon.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: [OT-ish] Need a Binary for lang/sml-nj
On Sat, 26 Jan 2013 14:50:34 -0600, Joseph A. Nagy, Jr wrote: > On 01/26/13 13:44, Polytropon wrote: > > On Sat, 26 Jan 2013 12:23:42 -0600, Joseph A. Nagy, Jr wrote: > >> I've got an amd64 machine (and no spare) and need help getting a binary > >> for lang/sml-nj (it won't compile on amd64, it's marked ignore for > >> whatever reason). I can send someone a 'pciconf -lv' of my machine if it > >> would help. > > > > 1. Have you tried compiling anyway? :-) > > no, I've learned my lesson with trying to compile software when it's > marked ignore. You can keep them in a jail. :-) > > 2. Maybe you can install the i386 precompiled package for > > that software with $PACKAGESITE set accordingly, and > > it will probably run on amd64. > > The official pkg repo's don't exist at the moment. It looks like ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-stable/Latest has smlnj.tbz (for use with pkg_add). But be sure to check /usr/ports/lang/sml-nj/Makefile for possible runtime dependencies. In worst case, use libmap. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: [OT-ish] Need a Binary for lang/sml-nj
On 01/26/13 15:52, Jimmy Olgeni wrote: Hello, On Sat, 26 Jan 2013, Joseph A. Nagy, Jr wrote: The pkg repo's are down. I'm not sure how you got it to work (if you did). It will not work on this end, thanks though. It seems to work from here. Maybe with a mirror? ftp://ftp1.us.freebsd.org/pub/FreeBSD/ports/i386/packages-9.0-release/lang/smlnj-110.0.7_3.tbz root@alex-laptop:/root # pkg add ftp://ftp1.us.freebsd.org/pub/FreeBSD/ports/i386/packages-9.0-release/lang/smlnj-110.0.7_3.tbz smlnj-110.0.7_3.tbz 100% 3203KB 1.0MB/s 2.4MB/s 00:03 pkg: ./smlnj-110.0.7_3.tbz is not a valid package: no +MANIFEST found pkg: ./smlnj-110.0.7_3.tbz is not a valid package: no +MANIFEST found Failed to install the following 1 package(s): ftp://ftp1.us.freebsd.org/pub/FreeBSD/ports/i386/packages-9.0-release/lang/smlnj-110.0.7_3.tbz -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://owl.apotheon.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: [OT-ish] Need a Binary for lang/sml-nj
On 27/01/2013 02:57, Joseph A. Nagy, Jr wrote: > On 01/26/13 15:52, Jimmy Olgeni wrote: >> >> Hello, >> >> On Sat, 26 Jan 2013, Joseph A. Nagy, Jr wrote: >> >>> The pkg repo's are down. I'm not sure how you got it to work (if you >>> did). It will not work on this end, thanks though. >> >> It seems to work from here. Maybe with a mirror? >> >> ftp://ftp1.us.freebsd.org/pub/FreeBSD/ports/i386/packages-9.0-release/lang/smlnj-110.0.7_3.tbz >> >> >> > > root@alex-laptop:/root # pkg add > ftp://ftp1.us.freebsd.org/pub/FreeBSD/ports/i386/packages-9.0-release/lang/smlnj-110.0.7_3.tbz > > smlnj-110.0.7_3.tbz 100% 3203KB 1.0MB/s 2.4MB/s 00:03 > pkg: ./smlnj-110.0.7_3.tbz is not a valid package: no +MANIFEST found > pkg: ./smlnj-110.0.7_3.tbz is not a valid package: no +MANIFEST found > > Failed to install the following 1 package(s): > ftp://ftp1.us.freebsd.org/pub/FreeBSD/ports/i386/packages-9.0-release/lang/smlnj-110.0.7_3.tbz > Trying to install a pkg_tools style package with pkgng is not going to work. At least, not with pkg-1.0.6. pkgng-1.1 will have the capability of converting from pkg_tools to pkgng format. And vice-versa. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature
Re: [OT-ish] Need a Binary for lang/sml-nj
On Sat, 26 Jan 2013, Joseph A. Nagy, Jr wrote: Failed to install the following 1 package(s): ftp://ftp1.us.freebsd.org/pub/FreeBSD/ports/i386/packages-9.0-release/lang/smlnj-110.0.7_3.tbz My fault - I didn't immediately connect "pkg repo" to pkgng :) I fired up a 9.1 VM and built an i386 package which should work better. http://people.freebsd.org/~olgeni/smlnj-110.0.7_3.txz -- jimmy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: [OT-ish] Need a Binary for lang/sml-nj
On 01/27/13 05:20, Jimmy Olgeni wrote: On Sat, 26 Jan 2013, Joseph A. Nagy, Jr wrote: Failed to install the following 1 package(s): ftp://ftp1.us.freebsd.org/pub/FreeBSD/ports/i386/packages-9.0-release/lang/smlnj-110.0.7_3.tbz My fault - I didn't immediately connect "pkg repo" to pkgng :) I fired up a 9.1 VM and built an i386 package which should work better. http://people.freebsd.org/~olgeni/smlnj-110.0.7_3.txz My bad for assuming people were switching over to pkgng en masse. (: At this point I'm not sure what the problem is, though I do appreciate the help. root@alex-laptop:/root # pkg add http://people.freebsd.org/~olgeni/smlnj-110.0.7_3.txz smlnj-110.0.7_3.txz 100% 2586KB 287.3KB/s 285.9KB/s 00:09 Installing smlnj-110.0.7_3...pkg: wrong architecture: freebsd:9:x86:32 instead of freebsd:9:x86:64 Failed to install the following 1 package(s): http://people.freebsd.org/~olgeni/smlnj-110.0.7_3.txz I'm about ready to give up and unenroll in the free course I signed up for. Unless someone else has a suggestion, I don't know what to do at this point. -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://owl.apotheon.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: [OT-ish] Need a Binary for lang/sml-nj
On Sun, 27 Jan 2013, Joseph A. Nagy, Jr wrote: root@alex-laptop:/root # pkg add http://people.freebsd.org/~olgeni/smlnj-110.0.7_3.txz smlnj-110.0.7_3.txz 100% 2586KB 287.3KB/s 285.9KB/s 00:09 Installing smlnj-110.0.7_3...pkg: wrong architecture: freebsd:9:x86:32 instead of freebsd:9:x86:64 pkg is right - I built the package on i386 and it refuses to install it on amd64 :| I'm about ready to give up and unenroll in the free course I signed up for. Unless someone else has a suggestion, I don't know what to do at this point. Would using sml in a jail or virtualbox vm work for you? -- jimmy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: [OT-ish] Need a Binary for lang/sml-nj
On Sun, 27 Jan 2013 16:40:51 -0600, Joseph A. Nagy, Jr wrote: > At this point I'm not sure what the problem is, though I do appreciate > the help. > > root@alex-laptop:/root # pkg add > http://people.freebsd.org/~olgeni/smlnj-110.0.7_3.txz > smlnj-110.0.7_3.txz 100% 2586KB 287.3KB/s 285.9KB/s > 00:09 > Installing smlnj-110.0.7_3...pkg: wrong architecture: freebsd:9:x86:32 > instead of freebsd:9:x86:64 > > Failed to install the following 1 package(s): > http://people.freebsd.org/~olgeni/smlnj-110.0.7_3.txz Did you have any success using the old-fashioned pkg_add method with the -f option, and using the FreeBSD 9-STABLE precompiled package (should work for 9.1-RELEASE too)? # pkg_add -f ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-stable/Latest/smlnj.tbz Again, check /usr/ports/lang/sml-nj/Makefile for runtime dependencies you might need to add, and in worst case use libmap (the library mapper) to make them work for this program. Also see /usr/ports/lang/sml-nj/pkg-descr if you can use a different ML interpreter as "suggested" in the description. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: [OT-ish] Need a Binary for lang/sml-nj
On 01/27/13 16:44, Jimmy Olgeni wrote: On Sun, 27 Jan 2013, Joseph A. Nagy, Jr wrote: root@alex-laptop:/root # pkg add http://people.freebsd.org/~olgeni/smlnj-110.0.7_3.txz smlnj-110.0.7_3.txz 100% 2586KB 287.3KB/s 285.9KB/s 00:09 Installing smlnj-110.0.7_3...pkg: wrong architecture: freebsd:9:x86:32 instead of freebsd:9:x86:64 pkg is right - I built the package on i386 and it refuses to install it on amd64 :| I'm about ready to give up and unenroll in the free course I signed up for. Unless someone else has a suggestion, I don't know what to do at this point. Would using sml in a jail or virtualbox vm work for you? Possibly, I have the space (~18GB free on my /home partition, even more free on /). It's just a matter of me taking the time to work on setting either one up and I seem to be a perpetual "corner case" when it comes to software issues. Either way I have the package locally now (in distfiles, I assume) so it's just a matter of doing what's needed to get it working. -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://owl.apotheon.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: [OT-ish] Need a Binary for lang/sml-nj
On 01/27/13 16:49, Polytropon wrote: On Sun, 27 Jan 2013 16:40:51 -0600, Joseph A. Nagy, Jr wrote: At this point I'm not sure what the problem is, though I do appreciate the help. root@alex-laptop:/root # pkg add http://people.freebsd.org/~olgeni/smlnj-110.0.7_3.txz smlnj-110.0.7_3.txz 100% 2586KB 287.3KB/s 285.9KB/s 00:09 Installing smlnj-110.0.7_3...pkg: wrong architecture: freebsd:9:x86:32 instead of freebsd:9:x86:64 Failed to install the following 1 package(s): http://people.freebsd.org/~olgeni/smlnj-110.0.7_3.txz Did you have any success using the old-fashioned pkg_add method with the -f option, and using the FreeBSD 9-STABLE precompiled package (should work for 9.1-RELEASE too)? No, because I have pkgng since I installed 9.1 release (first update I did) back in December when the 9.1 image was available on the ftp server. pkg_add is no longer a valid command. -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://owl.apotheon.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: [OT-ish] Need a Binary for lang/sml-nj
On Sun, 27 Jan 2013 16:53:05 -0600, Joseph A. Nagy, Jr wrote: > On 01/27/13 16:49, Polytropon wrote: > > Did you have any success using the old-fashioned pkg_add method > > with the -f option, and using the FreeBSD 9-STABLE precompiled > > package (should work for 9.1-RELEASE too)? > > > No, because I have pkgng since I installed 9.1 release (first update I > did) back in December when the 9.1 image was available on the ftp > server. pkg_add is no longer a valid command. Okay, I didn't know that, as I'm still on an older system here, so I've not advanced enough to use the new pkg command on a daily basis. :-) I assume getting the sources for pkg_add from a 9.0 system and building it, then using it to forcedly install the available package is going to break something... However, does any other available (S)ML implementation (nml, polyml, moscow_ml) fit your needs? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: [OT-ish] Need a Binary for lang/sml-nj
On 01/27/13 16:59, Polytropon wrote: On Sun, 27 Jan 2013 16:53:05 -0600, Joseph A. Nagy, Jr wrote: On 01/27/13 16:49, Polytropon wrote: Did you have any success using the old-fashioned pkg_add method with the -f option, and using the FreeBSD 9-STABLE precompiled package (should work for 9.1-RELEASE too)? No, because I have pkgng since I installed 9.1 release (first update I did) back in December when the 9.1 image was available on the ftp server. pkg_add is no longer a valid command. Okay, I didn't know that, as I'm still on an older system here, so I've not advanced enough to use the new pkg command on a daily basis. :-) I assume getting the sources for pkg_add from a 9.0 system and building it, then using it to forcedly install the available package is going to break something... Probably. However, does any other available (S)ML implementation (nml, polyml, moscow_ml) fit your needs? I don't know. The course I signed up for (should have read and researched the requirements, I never though i386-only would be one for a compiler) seems to require SML/NJ. I could ask the professor, though, and will. -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://owl.apotheon.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: [OT-ish] Need a Binary for lang/sml-nj
On Sun, 27 Jan 2013, Joseph A. Nagy, Jr wrote: Possibly, I have the space (~18GB free on my /home partition, even more free on /). It's just a matter of me taking the time to work on setting either one up and I seem to be a perpetual "corner case" when it comes to software issues. Either way I have the package locally now (in distfiles, I assume) so it's just a matter of doing what's needed to get it working. You may try this ugly emergency fix and see if SML starts at least in a temporary jail. In your home, or wherever you have some space available... (400MB should be fine) Fetch some i386 binaries for 9.1 (or your favorite release) mkdir 9.1-i386 fetch -o - ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/9.1-RELEASE/base.txz | tar -x -f - -C 9.1-i386 Copy the resolver configuration: cp /etc/resolv.conf 9.1-i386/etc Ensure that /usr/local is populated, just in case: mtree -deU -f /usr/ports/Templates/BSD.local.dist -p 9.1-i386/usr/local Add this to your /etc/jail.conf (replace my home directory with your own path) sml { name=sml; host.hostname=sml; ip4=inherit; persist; path=/home/olgeni/9.1-i386; } Create a jail for sml: jail -c sml Enter the jail: jexec sml sh Install SML from tbz package: pkg_add -r ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9.0-release/lang/smlnj-110.0.7_3.tbz Run SML and hopefully get a prompt: sml Standard ML of New Jersey, Version 110.0.7, September 28, 2000 [CM; autoload enabled] - I got one, so it seems to work :) If SML starts this way then there is hope and you just need to clean up the configuration a bit. -- jimmy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: [OT-ish] Need a Binary for lang/sml-nj
On 01/27/13 17:37, Jimmy Olgeni wrote: On Sun, 27 Jan 2013, Joseph A. Nagy, Jr wrote: Possibly, I have the space (~18GB free on my /home partition, even more free on /). It's just a matter of me taking the time to work on setting either one up and I seem to be a perpetual "corner case" when it comes to software issues. Either way I have the package locally now (in distfiles, I assume) so it's just a matter of doing what's needed to get it working. You may try this ugly emergency fix and see if SML starts at least in a temporary jail. Thanks, I'll get to work on it and let you know the results. (: -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://owl.apotheon.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: [OT-ish] Need a Binary for lang/sml-nj
On 01/27/13 17:37, Jimmy Olgeni wrote: On Sun, 27 Jan 2013, Joseph A. Nagy, Jr wrote: Possibly, I have the space (~18GB free on my /home partition, even more free on /). It's just a matter of me taking the time to work on setting either one up and I seem to be a perpetual "corner case" when it comes to software issues. Either way I have the package locally now (in distfiles, I assume) so it's just a matter of doing what's needed to get it working. You may try this ugly emergency fix and see if SML starts at least in a temporary jail. In your home, or wherever you have some space available... (400MB should be fine) It's alive! Thanks. :D -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://owl.apotheon.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"