How to set up Cocos2dx in Mac - cocos2d-x

I got an error when installing a Cocos2DX V3.0 in my Mac. I used the latest OSX and XCode, but I don't know why the error occurs.
ZS039:~ vishal.patel$ source ~/.bash_profile -bash: export: `Patel/cocos2d-x-3.0/tools/cocos2d-console/bin': not a valid identifier

In your bash_profile your EXPORT command is wrong.
Unless Patel/ is located at the root of your hard drive then it can't find it.

Related

Issues starting MySQL server Mac

There are red dots, rather than green dots, next to "Active Instance" in the preference pane. Image here. When I click "Start MySQL Server" the lights flash green very briefly before turning red again. In other install tutorials (e.g. this), this doesn't happen.
However, when I try to use command line to start the server, with sudo launchctl load -F /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist I get the line /Library/LaunchDaemons/com.oracle.oss.mysql.mysqld.plist: service already loaded Load failed: 37: Operation already in progress. So it seems like some parts are already loaded.
When I try to launch MySQL (with mysql -u root -p), I get the error:
dyld: Symbol not found: __ZTTNSt3__118basic_stringstreamIcNS_11char_traitsIcEENS_9allocatorIcEEEE Referenced from: /usr/local/mysql/bin/mysql (which was built for Mac OS X 12.0) Expected in: /usr/lib/libc++.1.dylib in /usr/local/mysql/bin/mysql Abort trap: 6
I get the same error when I try to do mysql --version.
Previously, I was getting the error -bash: mysql: command not found, but then I followed the suggestion here and added the path export PATH=$PATH:/usr/local/mysql/bin. (Note that I still get the -bash: mysql.server: command not found when I try mysql.server start, so I don't know if the new path export fixed the problem altogether.) I re-installed MySQL from the DMG but still getting this error.
Additional information that may be relevant:
-I am on Mac OS X 11.6.5.
-I have uninstalled/re-installed MySQL several times
-I copied my.cnf and put it in the "Configuration File" spot in preferences, with the file path: /private/etc/my.cnf. This is also a part where it's possible I went wrong, since I don't exactly know what I'm doing; I just tried to follow directions from here, here and used the actual code from here. I also tried putting the my.cnf file in /usr/local/mysql, as some other sources seem to suggest. This did not work either.
Solved: what I needed to do was uninstall MySQL and instead download an archived version of it--8.0.24 instead of the latest, 8.0.32, because it hadn't been compatible with my Mac version.

Installing Octave: Bad Interpreter: No Such File or Directory

I'm trying to install Octave according to the instructions here:
http://wiki.octave.org/Octave_for_MacOS_X
using Homebrew.
I have the XCode command line tools installed. I checked and I also have HomeBrew installed. I just installed XQuartz.
I try to run brew tap homebrew/science, and I get:
/usr/local/bin/brew: /usr/local/Library/brew.rb: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby: bad interpreter: No such file or directory
/usr/local/bin/brew: line 26: /usr/local/Library/brew.rb: Undefined error: 0
Do I need to do this in a certain folder?
Not sure why I'm getting this issue.
Thanks for the help,
bclayman

Package install in Octave erros - Ubuntu 12.04

ok this seems like a really silly question but for some reason I'm having issues installing a package into octave (using Ubuntu 12.04). I used the command:
pkg install signal-1.3.0.tar.gz
and got the error:
warning: file signal-1.3.0.tar.gz does not exist
But the file does exist and I have the tar file in the same folder as octave. I can't work out what the issue is... any ideas?? Thanks in advance!!

Installing Google Earth Enterprise - "Error While Loading Shared Libraries: Libcap.so.1" Can Not Open Shared Object File: No Such File or Directory"

Hello stack overflow!!!
I'm installing Google Earth Enterprise on a Suse 11.1 Linux machine. I have installed GEEFusion and GEESever, and both installs worked correctly, in theory. (In fact, when I do a command line run of server it starts up perfectly.)
However, when I try to start up GEEFusion using /etc/init.d/gefusion start I get the following error:
Error While Loading Shared Libraries: Libcap.so.1" Can Not Open Shared Object File: No Such File or Directory
We went and downloaded the library pack and installed it on Suse, and it still gives that error. We chmod'd the library items to 755 and it still gives that error. We also tried to install this on fedora and it still gave this error.
We're really at a loss of what to do, we have a ticket into Google but time is running short! Anyone seen this error? Suggestions?

APE Install Missing File

After installing from the RPM and then trying the Binary versions of APE (AJAX Push Engine) I am getting this error (on both versions) when I try to run the APE server:
[Module] Failed to load ../modules/libmod_spidermonkey.so [Invalid library] (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory)
I am using Fedora Linux, with MySql and apache installed. How can I get this libmysqlclient file? I have found this RPM: http://rpm.pbone.net/index.php3/stat/4/idpl/12471829/dir/fedora_4/com/mysqlclient15-5.0.67-1.fc4.remi.i386.rpm.html
And it says it includes this file, so I downloaded it to the box, attempted to install and tells me that it's already installed.
Any advice would help thanks!
Inside the ape.conf there's a module working directory which must be altered.