Building PostgreSQL from source on Windows - eclipse

I'm trying to build PosgreSQL in Eclipse CDT Mars on Windows using the MinGW-64 gcc 5.3.0
I installed MSYS2 and used pacman to update all the software that came with it and install gcc etc.
I downloaded the PostgreSQL source code and tried to follow the docs but can't figure out where to download the dependencies? 1. libreadline5-dev, 2. zlib1g-dev, 3. bison (YACC), 4. flex and where to save them to on disk?
I ran ./configure --prefix=$HOME/project --enable-depend --enable-cassert --enable-debug and it seems to have completed with no errors, but I do not see anything at $HOME/project?
I installed Eclipse CDT and added the include paths to the Environment:
I imported the project as Existing Code as Makefile Project.
When I try to build the project Eclipse says Info: Nothing to build for postgres
When I try to run it a dialog box says Unable to Launch. The selection can not be launched and there are no recent launches
How can I run/debug PostgreSQL in Eclipse on Windows?
Thanks!

I recommend just using the prebuilt postgresql package provided by MSYS2. To install the 64-bit version, run:
pacman -S mingw-w64-x86_64-postgresql
You can see the scripts that were used to build it here:
https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-postgresql

I was able to build PostgreSQL with MSYS2 and MinGW-w64, and I documented it in a video tutorial: How to build PostgreSQL from source on Windows

Related

Failing at NetBeans Java Native Packaging for Linux

Doing Linux Native Package builds I'm running into problems with both RPM and DEB. In the case of RPMs, it's saying that rpmbuild cannot be found. Then for DEBs it reports the dpkg cannot be found.
Both dpkg and rpmbuild are installed and are in /usr/bin. Both are in my path and execute fine from CLI. Failure is the same whether I start NetBeans from GUI or CLI. I've even symlinked rpmbuild and dpkg into my NetBeans bin directory. No luck.
How does one go about getting NetBeans to find dpkg and rpmbuild so that it can complete native builds from the GUI? Currently working with SuSE LEAP 15.
For whatever reason, the "Package All Artifacts" option is currently generating .deb and .rpms, but I can't generate them individually. I'm OK with this. I think the most likely change to make that option work was symlinking the binaries from user bin into my netbeans bin.

How to correctly setup PyDev in NVIDIA Nsight Eclipse version?

In Ubuntu 16.04(64 bit), I've installed the cuda 7.5 and it has an internal NVIDIA Nsight Eclipse. Now I want to install the PyDev plugin into it. But it seems not working. The PyDev is not shown in the IDE.
So I searched in Google, it returns one solution in here, it can be worked. But in that way I have to using the sudo command.
Is there any more convenient way to successfully install the PyDev into Nsight?
Finally, I found one solution.
Download PyDev-2.8.2.zip and decompress it into the corresponding directories of /usr/local/cuda-7.5/libnsight/.
sudo chmod 777 /usr/local/cuda-7.5 -R
Then, when you rerun the nsight, the PyDev will be loaded and it works OK.

How do I build and install a plugin for KDevelop?

In particular, I am trying to install kdev-control-flow-graph
I have managed to clone the source from git, cmake the source to build a kdevcontrolflowgraphview.so installed to /usr/local/lib, but when I restart kdevelop, I can find no sign of the plugin!
Under the Loaded Plugins window, it doesn't show up, and I can't seem to find a way to tell it about the existence of the new plug-in.
I am running KDevelop Version 4.2.3 using KDE Development Platform 4.7.2 on Ubuntu 11.10 64-bit.
Any help or suggestions would be greatly appreciated.
Make sure that "/usr/local/lib" is in your KDEDIRS var, and run "kbuildsyscocoa4 --noincremental"
If that doesn't work, perhaps the plugin's .desktop file needs to have its version modified.
Also note that you aren't running KDE Development Platform 4.7.2 because that doesn't exist (you probably mean KDE 4.7.2), you should be running KDevplatform 1.2.3.

Unable to install Plugins in Eclipse (jpbm)

I have a major problem with installing plugins in eclipse. I'm using ubuntu 10.04 64 bit and I installed:
Eclipse SDK
Version: 3.6.0
Build id: I20100608-0911
(Not by using the apt-get, via apt-get I get galileo, but that version didn't work as well)
The Plugin I want to install is: http://sourceforge.net/projects/jbpm/files/jBPM%203/jbpm-jpdl-3.2.7/ I have to use this plugin because its compatible with alresco (dms)
I tried to install the plugin via dropin and the normal way:
Help->Install new Software-> Add -> Archive -> select the downloaded *.jar.
When I hit OK, I get the following error message:
"Could not find jar:file:/home/xyxyx/jbpm.jar"
I tried to solve it by extracting the jar but no success. Putting the jar into the plugins folder and changing permissions won't help! I also tried different versions of eclipse on several systems. No success!
I have been looking for a solution all day! I tried some advice I found on stackoverflow. I don't use a proxy. I changed the update system to classic! Now I don't know what to do anymore.
Anything special I have to configure before I use eclipse on ubuntu besides installing the JDK?
Try to run the installed using the following command:
java -jar jbpm-installer-3.2.7.jar
On the other hand, you may want to use JBoss IDE which has integrated support for jBPM.

Eclipse C++ On Ubuntu installation Process

I am now working on a data transfer project under Linux.
The Project Team choose putty to login in linux server via vim to development, But I think the efficiency is too low.
Now I choose Eclipse for C++, and distributor the version "eclipse-cpp-helios-linux-gtk.tar.gz" on Ubuntu.
However, I encountered a problem: My Linux system should install jre1_5_0_09linuxi586, but I can not find it on web.
Can anybody help me on how to install Elipse for C++ on a cleanup linux OS?
What I need is Eclipse for C++ running gdb and compiling on IDE, thanks!
Your question is difficult to understand, but if I'm reading it correctly, you're trying to install the Java Runtime Environment and Eclipse Helios for C++ on Ubuntu.
The easiest way to install the JRE is to use the packages in the "partner" repository:
Edit /etc/apt/sources.list:
sudo -e /etc/apt/sources.list
You should see a few lines that end with the word "partner." Remove the hash marks from the front of each of these lines.
deb http://archive.canonical.com/ubuntu lucid partner
deb-src http://archive.canonical.com/ubuntu lucid partner
Now update your package list and install the Sun Java Runtime:
sudo apt-get update
sudo apt-get install sun-java6-jre
Then you can unzip the Eclipse tarball and run the eclipse binary from inside the tarball:
tar -zxf eclipse-cpp-helios-linux-gtk.tar.gz
./eclipse
You can:
download a JRE or JDK version on the Oracle site or use the process "How to Install Java Runtime Environment (JRE) in Ubuntu"
Follow for instance those installation instruction
use the right eclipse.ini to launch your eclpise
Download page of Eclipse Helios (http://www.eclipse.org/downloads/packages) gives 2 good alternatives for C++ developers on Linux:
A) Eclipse IDE for C/C++ Developers, 87 MB without LinuxTools
B) Eclipse IDE for C/C++ Linux Developers, 120 MB with inbuilt LinuxTools like valgrind, gprof, systemtap etc.
C) Installing/Updating LinuxTools using UpdateManager (Note: You may need to do a Java6 JRE update as described below first.)
D) Updating Eclipse Helios CDT with UpdateManager
E) Helios Installation how-to
F) Java6 JRE update:
apt-get install sun-java6-jre
G) Unzip the Eclipse tarball and run the eclipse binary from inside the tarball:
tar -zxf eclipse-cpp-helios-linux-gtk.tar.gz && ./eclipse
For related info click here