Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - jazper

#16
Thanks, Rickyboy.  After a closer look, I did find "libcrypt" files in /lib/x86_64-linux-gnu, but I do not have any "libcrypto" files in /lib/x86_64-linux-gnu.
#17
What I can say is that /usr/lib, on my 64 bit Crunchbang system, has no files named "librypt" anything at all.



I think my biggest problem was that I was editing the wrong file list, ie. inserting the crypto file names into the file list in sqlite3.lsp, instead of the file list in crypto.lsp.  Both lists look similar, and I just found myself in the wrong file with the wrong file list.  Here's what I have now, and it did the trick (I removed the SymLink):
(set 'files '(
    "C:/Program Files/gnuwin32/bin/libeay32.dll" ; XP
    "C:/Program Files (x86)/gnuwin32/bin/libeay32.dll" ; 7
    "/usr/lib/libcrypto.so"
    "/usr/lib/libcrypto.so.0.9.8"
    "/usr/lib/libcrypto.so.0.9.7"
    "/usr/lib/libcrypto.so.0.9.6"
    "/usr/lib/libcrypto.so.4"
    "/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0"
    "/usr/lib/libcrypto.so.18.0" ; OpenBSD 4.6
    "/usr/lib/libcrypto.dylib"
))


Having tried to put this file into the list in sqlite3.lsp would have produced the error, because that list is for the sqlite3 files, which weren't even looking for crypto files.  Such is the way of bloodshot eyed, late night stuff.



Please accept my apologies for this daft misdirection (if that's what it was) :(
#18
Late, late into the small hours, everything came right.  



I can't recall what I did, unfortunately, because on checking what steps I'd written down, it's obvious I left stuff out.  



But thanks very much for all the pointers.  They ring bells, so they are pretty much what I must have discovered along the way myself.  I'm going to need to do this again at some stage, though, so what you have set out for me is really valuable.  My own paper trail was dogged by fatigue!
#19
While trying to use sqlite3 in an app that needs the crypto library, I get a warning "can't find crypto library".  On Crunchbang linux, there are a few "crypt" files in /usr/lib/x86_64-linux-gnu directory:

libcrypt.so,

libcrypt.so.1.0.0,

libcrypt.a

the first is a symlink, as follows:lrwxrwxrwx   1 root root       35 Aug 18 14:19 libcrypt.so -> /lib/x86_64-linux-gnu/libcrypt.so.1

The problem is, I can't find the file the symlink points to (libcrypt.so.1), certainly not on that folder.  Should I edit the link to point to libcrypt.so.1.0.0?
#20
newLISP and the O.S. / Re: Windows install
June 13, 2013, 01:27:43 PM
Aha!  I had tried both Program Files and Program Files (x86), but of course, they BOTH have spaces in them.  Will try this just out of curiosity when I get a chance - buried in work for the last week, but will report back.  



Sigh.  It's quite often the *simple* things I fail to think of first ...
#21
newLISP and the O.S. / Re: Windows install
June 09, 2013, 11:53:53 AM
Having got Winger's Scite config going on my Win 7 machine at home, (so, confident that I can still use newLISP in case of more Java problems) I allowed Windows to update my system.  That did not affect how newLISP GS worked.  



Then, I updated Java from java 6 update 31 to the latest, 7 update 21.  That produced exactly the same problem encountered by xytotron and by me at work, and a warning about Windows firewalll.  So, to verify things, I uninstalled Java 7 update 21 (but java 6 update 31 is still on my system), and the problem went away.



I don't really mind any more, knowing that I can use Scite and soon (hopefully) Emacs, but perhaps it's worth confirming that Java 7 update 21 is likely to cause problems with the newlISP java IDE.



Btw, Winger's Scite setup was pretty easy, and although the default colour scheme looks a bit like Vegas from the air, is very slick, with autocomplete, snippets, tooltips.
#22
newLISP and the O.S. / Re: Windows install
June 05, 2013, 10:44:48 PM
@rickyboy, sorry, I have confused things somewhat.  Ignore my last post: it appeared that last night's had not gone through, and then all of a sudden it appeared, along with your reply to last night's.  Thanks
#23
newLISP and the O.S. / Re: Windows install
June 05, 2013, 10:42:22 PM
@rickyboy, regret to say, I still haven'rt Emacs going with newLISP on Win 7.  I followed your instructions to the letter, even allowing for the renamed newlisp[-mode].el (which I tried with both names).  Perhaps it's because my .emacs.d file is on C:Usersme, but Emacs is in fact installed on C:.  



I've gone through the .el files to ensure that all file names match, and the newlisp.el and init.el files as well, but it, as you say, drops me into debug with an error.
#24
newLISP and the O.S. / Re: Windows install
June 05, 2013, 09:39:44 AM
@rickyboy, sorry to say, I still have not got Emacs working with newLISP.



Perhaps it's to do with my Emacs being in C:emacs - how will it be initialised by files in C:Usersme.emacs.d?



Maybe I should move emacs into C:Usermeemacs?  Then put the .emacs.d file into that, and move likewise the newlisp-mode folder, with the files it contains (init.el & newlisp.el)?



The errror I get is  File mode specification error: (void-function newlisp-mode)
#25
newLISP and the O.S. / Re: Windows install
June 04, 2013, 12:36:01 PM
@rickyboy, thanks for the advice:  I couldn't run into any problems, because this site was under migration to a new server, and I had not copied your emacs instructions yet.  



Before trying them, I had a go at installing Winger's Scite config, and that worked out okay.  So, my immediate problems at work are out of the way.  



However, as good as Scite is, I just want to use emacs: as I said, it has been such huge pleasure with LaTeX.  Also, there's always the feeling that useful additions are only some emacs lisp code away.  I am not saying that is easy, but that it is possible, where I am not sure how to go about hacking (or whether it will even be possible) with Scite and the others.



So, I will be trying an Emacs install, following your post, at home on Win 7, and then I will have had enough practice hopefully to whistle through it at work, where time is tight.
#26
newLISP and the O.S. / Re: Windows install
June 02, 2013, 01:04:44 AM
@xytotron - my Win 7 newLISP setup on my (home) Dell Vostro works fine.  But.  You make me think.  I have not installed any Windows updates in quite a while.  What you say makes me think that if I do, I will arrive at the same situation I have at work.  So, in order to preserve my sanity, and my current newLISP setup, I won't be doing any Windows updates at home very soon :)



You take me back to the time I was myself on a dial up modem (56kbb) on a rickety farm line.  I was running a mill on a small farm just south of Soweto in a high crime area, surrounded by car-jacking chop shops.  One morning, I found a stiff on the corner of my plot - gangster assassination, shot from behind the head.  I tell ya, those WEREN'T the days.  



Now, I am safely in an apartment in Cape Town, the windows being battered by hail - one of our typical winter storms, a real Atlantic squall coming at us all the way from Antarctica (well, it feels like that), and my 3G connection goes way more west than the wind every few minutes.  And that is ... technology.  



Btw, I also like Scite.  I used it for Lua when I used that before I found newLISP.  The IDE I mentioned named "LispIDE" uses a Scintilla base, says its author.



@rickyboy.  An enormous thanks for all your caring and effort.  When the aforementioned storm eases up, I will have a go at things - what you mentioned about newLISP in the menu is what I expected at my last attempt, because when I use Emacs for Latex, a Tex menu appears as soon as a file with the extension ".tex" is loaded.  It is, in fact, the way Emacs handled Latex that got me interested in using it for newLISP.



When I looked at Kosh's code for the newLISP mode, I suspected it was a cut above what I had already installed, so I am glad it has worked out for you.
#27
newLISP and the O.S. / Re: Windows install
June 01, 2013, 10:51:34 AM
I am not sure what is meant here:
QuoteThat means, you also can use the Emacs based IDE to edit/launch programs launching and communicating with the Java based guiserver. The problems you had, where just shelling out from Java, starting a new process, but you still can use Java from newLISP


Which IDE are we talking about here?  Emacs, LispIDE or newLISP GS IDE?
#28
newLISP and the O.S. / Re: Windows install
June 01, 2013, 05:37:54 AM
I finally found a folder at C:emacslispprogmodes (emacs on my setup is on C:emacs) containing a bunch of .el files that I assume are mode files, and placed newlisp.el in it.  Not a single posting or guide found thus far even mentions that folder.  Then I found a book I bought years ago on Gnu Emacs which was up to date for emacs 21.3, in which some poring (in chapter 13) revealed that my .emacs file should be placed in whatever folder is configured to be my HOME folder.   That was not yet defined, so I created that User Variable via Control Panel, and Advanced System Settings.  Then, I created the .emacs file, and copied the emacs load code from the newlisp.el README into it.  Naturally, I had to change the folder where newlisp.el is found, accordingly.  



So, I am at the point where emacs loads normally (until I got things right, it complained of not finding the file), and the result is ... hopeless.  Because, when I load a newlisp file, I get no syntax colouring, nor do I get the option of shelling out to program execution, and editing by turns, which is the whole point of the many hours that I have spent.  Ptooey!  Blech!



And that, sadly is the state of MY discussion on newlisp mode.



I did find a little program, though, named "LispIDE" for windows.  One has to create a batch file, containing for example:newlisp myprogram.lspname it [anything].bat (I used  myprogram.bat), and then (in LispIDE) use Tools menu to set the path, being that .bat file.  Once that's done, all one needs to do is use the reset icon each time the program is to be run.



Syntax highlighting is colourful and good, and, side-stepping my java isse, this will do just fine on Win 7 at work, because I do only small test programs there.



In the end, though, I am irked that I can't get emacs to work usefully for me on Windows - even for Latex, I resorted to TexWorks.  The exact same file that works fine in (Win 7) TexWorks results in many Latex errors under emacs in Win 7.  The PDF does finally print and is ok, but who wants to press OK sixty times to get a PDF?



On Ubuntu, I use both Emacs and TexWorks interchangeably for Latex without problems.  



Once again, if there is a newlisp user who is actually successfully using both emacs and newLISP on Win 7, it would be great if that person could share setup experience with me.



Having said all that, I am still grateful, as always, to rickyboy and whoever else lends a hand.
#29
newLISP and the O.S. / Re: Windows install
May 29, 2013, 11:22:57 AM
Thanks, again, rickyboy. usb drives, at my workplace, are unfortunately even more verboten and reviled than handing out the permission I would need for java.  Insert one, and a so-called support person is sure to arrive (looking peeved) within seconds, and speaking in tongues :(



Nonetheless, I am glad you drew my attention to Portable Apps - great idea - I will try it for travelling - has promise for internet cafes at airports etc, where they have usually never *heard* of emacs.  



emacs(24) installed just fine on my work PC.  Things have come a long way in the last couple of years, because this was painless.  



When I have time, I'll scout around there for where to put the newLISP mode file - on Ubuntu 12.04, it will be in  ~/.emacs.d, which is currently empty, waiting for me to place a newlisp.el file there.
#30
newLISP and the O.S. / Re: Windows install
May 28, 2013, 02:42:23 AM
Thanks very much, rickyboy.  



Btw, what about the available newLISP modes for emacs?  Have you used any of them, and is it difficult to get one working?



Org, email -- wow -- you sound like one of those "emacs as an OS" people :)