Package Details: vpcs 0.8-4

Git Clone URL: https://aur.archlinux.org/vpcs.git (read-only)
Package Base: vpcs
Description: Simple virtual PC simulator
Upstream URL: http://sourceforge.net/projects/vpcs/
Keywords: gns3 vpcs
Licenses: BSD
Submitter: FillFeile
Maintainer: FillFeile
Last Packager: FillFeile
Votes: 19
Popularity: 0.178325
First Submitted: 2015-08-17 18:37
Last Updated: 2017-11-21 19:35

Dependencies (3)

Required by (2)

Sources (1)

Latest Comments

FillFeile commented on 2017-11-21 19:39

Hey Artyom,
thank you for your line of code. I added a patch to the PKGBUILD that replaces line 53 with your code. Now the compilation works again.

Artyom commented on 2017-11-20 14:55

FillFeile, you must edit getopt.h located in /vpcs/src/ at line 53:
Replace "int getopt(int argc,char** argv,char* optstr);"
By "int getopt(int argc,char *const *argv,const char *optstr);"
Now the compilation should work.
For GNS3 users, set the VPCS executable to location to the file "vpcs" created from the compilation.

FillFeile commented on 2017-11-05 20:51

Hi Time0o, thanks for pointing this out. I was able to reproduce your error. As I'm not a great C developer, could you provide me with a simple patch file for fixing this? I would add it afterwards to the package.

Time0o commented on 2017-11-01 00:14

This fails to compile for me out of the box as of now because of conflicting function declarations in getopt.h and /usr/include/bits/getopt_core.h. This can be easily fixed by just adding some 'const's to to the declaration in getopt.h.

FillFeile commented on 2016-03-24 18:10

Changed to source tarball from github GNS3 repo. Not downloading binary file anymore. Building package from source now.

FillFeile commented on 2016-03-23 13:39

Hi Cravix, thank you for reporting and sharing your solution. I can reproduce the issue and will fix the PKBGUILD till the end of this week. Cheers, FillFeile.

Cravix commented on 2016-03-23 01:43

Seems the binary file provided is not compatible with current arch linux, I can only type 2 characters and then it returns.
And I just found the solution: download the source from https://github.com/GNS3/vpcs/releases , and compile it, copy the generated "vpcs" file into /usr/bin.