{"action":"created","issue":{"url":"https://api.github.com/repos/lesovsky/pgcenter/issues/8","labels_url":"https://api.github.com/repos/lesovsky/pgcenter/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/lesovsky/pgcenter/issues/8/comments","events_url":"https://api.github.com/repos/lesovsky/pgcenter/issues/8/events","html_url":"https://github.com/lesovsky/pgcenter/issues/8","id":123097114,"number":8,"title":"Compile problem on Debian 6","user":{"login":"bmomjian","id":412153,"avatar_url":"https://avatars.githubusercontent.com/u/412153?v=3","gravatar_id":"","url":"https://api.github.com/users/bmomjian","html_url":"https://github.com/bmomjian","followers_url":"https://api.github.com/users/bmomjian/followers","following_url":"https://api.github.com/users/bmomjian/following{/other_user}","gists_url":"https://api.github.com/users/bmomjian/gists{/gist_id}","starred_url":"https://api.github.com/users/bmomjian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmomjian/subscriptions","organizations_url":"https://api.github.com/users/bmomjian/orgs","repos_url":"https://api.github.com/users/bmomjian/repos","events_url":"https://api.github.com/users/bmomjian/events{/privacy}","received_events_url":"https://api.github.com/users/bmomjian/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"lesovsky","id":953312,"avatar_url":"https://avatars.githubusercontent.com/u/953312?v=3","gravatar_id":"","url":"https://api.github.com/users/lesovsky","html_url":"https://github.com/lesovsky","followers_url":"https://api.github.com/users/lesovsky/followers","following_url":"https://api.github.com/users/lesovsky/following{/other_user}","gists_url":"https://api.github.com/users/lesovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/lesovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lesovsky/subscriptions","organizations_url":"https://api.github.com/users/lesovsky/orgs","repos_url":"https://api.github.com/users/lesovsky/repos","events_url":"https://api.github.com/users/lesovsky/events{/privacy}","received_events_url":"https://api.github.com/users/lesovsky/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-12-19T16:51:00Z","updated_at":"2015-12-19T18:19:06Z","closed_at":null,"body":"I am on Debian 6/Squeeze, and I get this error on the compile:\r\n\r\ncc -g -std=gnu99 -Wall -pedantic -I/usr/local/pgsql/include -L/usr/local/pgsql/lib -o pgcenter pgcenter.c -L/usr/lib -lncurses -lmenu -lpq\r\npgcenter.c: In function ‘get_speed_duplex’:\r\npgcenter.c:1701: error: ‘DUPLEX_UNKNOWN’ undeclared (first use in this function)\r\n                                       ---------------------------"},"comment":{"url":"https://api.github.com/repos/lesovsky/pgcenter/issues/comments/166011502","html_url":"https://github.com/lesovsky/pgcenter/issues/8#issuecomment-166011502","issue_url":"https://api.github.com/repos/lesovsky/pgcenter/issues/8","id":166011502,"user":{"login":"bmomjian","id":412153,"avatar_url":"https://avatars.githubusercontent.com/u/412153?v=3","gravatar_id":"","url":"https://api.github.com/users/bmomjian","html_url":"https://github.com/bmomjian","followers_url":"https://api.github.com/users/bmomjian/followers","following_url":"https://api.github.com/users/bmomjian/following{/other_user}","gists_url":"https://api.github.com/users/bmomjian/gists{/gist_id}","starred_url":"https://api.github.com/users/bmomjian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmomjian/subscriptions","organizations_url":"https://api.github.com/users/bmomjian/orgs","repos_url":"https://api.github.com/users/bmomjian/repos","events_url":"https://api.github.com/users/bmomjian/events{/privacy}","received_events_url":"https://api.github.com/users/bmomjian/received_events","type":"User","site_admin":false},"created_at":"2015-12-19T18:19:06Z","updated_at":"2015-12-19T18:19:06Z","body":"On Sat, Dec 19, 2015 at 10:02:25AM -0800, Lesovsky Alexey wrote:\n> Ok, I add DUPLEX_UNKNOWN in pgcenter.h (6238e43). Pull changes and try make\n> again.\n\nYes, that fixed it and it compiled just fine.\n\nI noticed there is no default directory for the host, e.g. /tmp.  I used\n'-h /tmp' to get it started and connected.  Thanks.\n\n-- \n  Bruce Momjian  <bruce@momjian.us>        http://momjian.us\n  EnterpriseDB                             http://enterprisedb.com\n\n+ As you are, so once was I. As I am, so you will be. +\n+ Roman grave inscription                             +\n"}}