Tuesday 8 January 2013

Intellij: Unable to connect to Perforce in Ubuntu

So I upgraded to Intellij and unfortunately my company is still on Perforce, so I had to set that up with Intellij.

The problem that I came across was this when it tried to connect:


bash: ./p4admin.bin: cannot execute binary file

Why? I downloaded both the p4 and the p4 Visual client and extracted the p4 binary to the p4v/bin directory and pointed Intellij to it. 

It turned out that I was using the 64 bit version in Ubuntu and only the 32 bit was supported (even though my Ubuntu was 64bit).

Once I configured the correct p4 then everything worked.

No comments:

Post a Comment