SMW+ installation in MAMP - mediawiki

I'm trying to instal SMW+ on MAMP on top of an existing Semantic Mediawiki (that installation went fine).
First problem: in Step 3 of the official SMW+ installation guide, the WYSIWYG editor doesn't have a link, and the SMWHalo extension locks up my wiki.
So, in Step 6, I've had to comment out # include_once('extensions/SMWHalo/includes/SMW_Initialize.php'); enableSMWHalo(); and require_once("$IP/extensions/WYSIWYG/WYSIWYG.php");
I figured it was related to SMWHalo on both counts. So, I hop over to the Halo Extension installation guide, which leads me to the Wiki Admin Tool installation guide (no link because I'm a noob), which is where I get stuck. I can't get smwadmin to become executable to save my life chmod +x smwadmin.sh returns nothing, and using smwadmin after that gives me "-bash: smwadmin: command not found"
And there, I'm stuck. My wiki still works just fine with those three lines commented out, but I obviously lose SMW+ functionality.
Any suggestions?

Just switch to regular SMW and use the Semantic Bundle to get a jumpstart. I'm afraid the SMW+ project, for all intents and purposes, is now dead :(

Related

silverstripe 4 server error after removing module

I'm having problems with using fluent in Silverstripe 4. So I tested to install different versions of fluent to see if I was able to get it working. The version of Silverstripe is 4.1.1.
After uninstalling fluent again, I get "server error" and I can't see anything in the php logs and when trying to run in dev mode, I don't see any difference.
One puzzling thing is that a folder named "themes" appeared in the root folder. I think that it was added by composer during the module installation, but I'm not sure. But I do know that git listed the themes folder as an untracked file. Which suggests that it was automatically added. So I removed that folder when uninstalling the module.
Now I'm not sure what to do. I would want to restore the database as it was before installing fluent (I've tried to add language to see if fluent was working). Or at least get back to square one.
How do people usually do when working with Silverstripe and testing modules?
What I've done so far:
Checked the php logs. No errors found.
Added "Director::set_environment_type("dev");" to _config.php, without seeing any difference when loading the page.
Tested to load the page with ?dev=1 without any difference.
I ran composer update and now the site is working. Might be one thing to test for silverstripe noobs (like me).

Mercurial support partially not working in Atom-Nuclide

I have installed the latest version of watchman, which can be found here:
/usr/local/bin/watchman
I performed the Install Recommended Packages on Startup and I watched them install after restarting.
This is a fresh new install of Atom and Nuclide with the latest version of everything.
I have a test project with files added to the Mercurial repository. The repository .hg directory sits at the root of the project. When I open a Diff View into a file, Nuclide picks up the previous Mercurial version of that file just fine as I make edits and it shows the comparison between the two. Previous version on the left is shown. So I know that Atom-Nuclide is able to interact with the Mercurial repository.
However, nothing else seems to be working for Mercurial support.
When I select "Toggle Blame" on the same file where Diff View is working, I get this message: "Failed to fetch blame to display. The file is empty or untracked or the repository cannot be reached."
The File Tree Highlighting does not work. No colors on any of the files in any of their mercurial states.
The colored Line Modification Notifications do not show inside of the Atom gutter.
The Added and Removed Lines feature is not showing in the status bar.
These features in Atom-Nuclide are the reason why I am interested in trying out Mercurial instead of Git and are big reasons for trying this IDE in general.
The same problem was reproduced on a different distro. I can't be the only one who bumps into this. No business can safely rely on a development environment where the level of community interest outside of FB cannot support an attempt to claim a Stack Overflow bounty on a question like this. The solution is to wait for better type support and type checking to come to PHP. Numerous RFCs exist to do exactly that and other IDEs will take advantage of this in future versions of PHP.

How do I install a program that involves make, configure, and build?

I knew this day would come, so I guess it is here. (P.S. I am on windows XP).
I am trying to use this program here. I installed it fine, but it doesnt seem to work when I type in equations. So I went back to the site and it says I need JRE version 5.0 or above, (check). Then it also says I need dvipng, which I dont think I have.
So I went to the site it tells me to, (here), and I downloaded the most recent one, "dvipng-1.14.tar.gz". I unzipped it and I have it all sitting in one directory.
Ok... now what?
Im afraid I need guidance on exactly how to proceed here. The readme and installation instructions say to run "./configure", then "make", etc, I opened the command prompt and did all that but doesnt recognize. I have never had to build in this way, I always used an IDE for compiling C++ programs that I write myself. (Anyway, why am I even having to make an exe why dont they just make one and let us download that?)
Very confused as to what I need to do here, appreciate some step by step help.
Thank you
Even though Mohammad's problem was solved in the comments, I'll have a go at answering his question:
To run a build system that uses ./configure, you need something that can run shell scripts, as well as the usual suite of unix tools that the script expects, plus a compiler that behaves in the standard sort of way.
The two projects that I know of that do this are cygwin and MSYS. cygwin is aimed at creating a full POSIX environment on windows, while MSYS is an add-on to MinGW that aims to provide just the parts needed to run a ./configure script and build a program.

Can't get Lazarus to do.....anything?

So I thought I would install Lazarus/Free pascal -latest version from the sourceforge website.
Downloaded the win32 version and install on my XP machine couple of nights ago.
Problem is, it can't seem to find any of its own files.
From the first and every subsequent run it comes up with an error which says it can't find its system.ppu file relating to win32.
I just ignore that error and it seems to still run.
I tried to make a simple calculator application and it couldn't even seem to find the system files or files in the project directory. After battling these problems and setting every single path I could find in all the setups to every directory I could find it eventually compiled and run the program - once, not been able to make it do it again.
I also tried to make a user component library following the instructions on the web and that won't work either because, you guessed it, it can't the files. This time it gives an error saying it can't find a Ttreeview component, despite not even using that component in the library.
Being able to follow search paths is pretty fundamental stuff that they don't seem to have mastered.
Anybody managed to get a working system going, or any tips to sort these problems out?
Did you install in the default directory c:\lazarus? I thought there was an issue with installing to another directory, especially if the path contains spaces.
Nine times out of ten, its the old config of an earlier Lazarus attempt, that still lingers somewhere in the "local app" part of the profile.
If nothing else helps uninstall Lazarus, download Lazarus CodeTyphon edition, and run install as admin.

link to download the mysql source

The closest I can find on mysql.com is something called
Generic Linux (Architecture Independent), Compressed TAR Archive
But thats probably a binary installation too, because it has no 'configure' script. Its rather frustrating. I'm sure I'm just missing something obvious (just like what happens with code sometimes).
Navigate your browser to http://dev.mysql.com/downloads/ and click on "MySQL Community Server"
Next go half way down the page and look in the section titled "Generally Available (GA) Releases" and click the drop-down box under "Select Platform". Choose "Source Code" at the bottom of the list.
A list of source code packages will appear for various platforms. Click "Download" to the right of your platform target. This takes you to a "Begin Your Download" page.
At the bottom you will find a link titled "No thanks, just start my download" which will start your download or may be copied as a link as in the wget example above.
The overall procedure for building MySQL from source is at MySQL Docs - Install Source Distribution and it includes using CMake instead of ./configure (you can yum install cmake if needed (CentOS)).
The Generic Linux (Architecture Independent), Compressed TAR Archive is the title of the source package I used to build from source, so I think you were on the right path.
Install Bazaar and get a latest copy of the tree.
http://dev.mysql.com/doc/refman/5.0/en/windows-sourcetree-build.html
You'll need a MySQL.com account. More about contributing code to MySQL.
It turns out my impatience got the better of me.
A further perusal of the latest documentation indicates that this is the genuine source. And that mysql 5.5 and later no longer uses "configure" (autoconf) but instead uses CMake.
I'm now building mysql from those very sources.