{"action":"created","issue":{"url":"https://api.github.com/repos/ps2dev/ps2-packer/issues/13","repository_url":"https://api.github.com/repos/ps2dev/ps2-packer","labels_url":"https://api.github.com/repos/ps2dev/ps2-packer/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/ps2dev/ps2-packer/issues/13/comments","events_url":"https://api.github.com/repos/ps2dev/ps2-packer/issues/13/events","html_url":"https://github.com/ps2dev/ps2-packer/issues/13","id":351867206,"node_id":"MDU6SXNzdWUzNTE4NjcyMDY=","number":13,"title":"Compiling ps2-packer?","user":{"login":"Jay-Jay-OPL","id":10836365,"node_id":"MDQ6VXNlcjEwODM2MzY1","avatar_url":"https://avatars1.githubusercontent.com/u/10836365?v=4","gravatar_id":"","url":"https://api.github.com/users/Jay-Jay-OPL","html_url":"https://github.com/Jay-Jay-OPL","followers_url":"https://api.github.com/users/Jay-Jay-OPL/followers","following_url":"https://api.github.com/users/Jay-Jay-OPL/following{/other_user}","gists_url":"https://api.github.com/users/Jay-Jay-OPL/gists{/gist_id}","starred_url":"https://api.github.com/users/Jay-Jay-OPL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jay-Jay-OPL/subscriptions","organizations_url":"https://api.github.com/users/Jay-Jay-OPL/orgs","repos_url":"https://api.github.com/users/Jay-Jay-OPL/repos","events_url":"https://api.github.com/users/Jay-Jay-OPL/events{/privacy}","received_events_url":"https://api.github.com/users/Jay-Jay-OPL/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":27,"created_at":"2018-08-19T02:16:22Z","updated_at":"2018-08-20T15:13:24Z","closed_at":null,"author_association":"NONE","body":"I was under the impression that all I needed was to make a git pull to this directory:\r\n\r\n`C:\\MinGW\\msys\\1.0\\home\\JJ\\ps2-packer`\r\n\r\nAnd that's all I needed to update ps2-packer.  \r\n\r\n\r\nBut after doing a bit of exploring it seems I have to compile it (run a `make`) -- the issue is that I can't compile it.  I get the following error:\r\n\r\n```\r\n$ make\r\ngcc -O3 -Wall -I. -DVERSION=\\\"0.4.6\\\" -DPREFIX=\\\"/usr/lib/ps2dev\\\" ps2-packer.c\r\ndlopen.c -o ps2-packer -ldl\r\nc:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot fin\r\nd -ldl\r\ncollect2: ld returned 1 exit status\r\nmake: *** [ps2-packer] Error 1\r\n```\r\n\r\nSo can anyone tell me how to get around this error, or can they zip up the compiled version so I can replace the files found here in my Windows compiling environment:\r\n\r\n`C:\\MinGW\\msys\\1.0\\share\\ps2-packer`\r\n\r\nSince it seems that is where the compiled files need to go for them to work.\r\n\r\nSo all this time, I was using a very old version that was provided from this link in a guide:\r\n\r\n`cd $HOME && wget -c http://web.archive.org/web/20090415101458/http://www.nobis-crew.org/ps2-packer/ps2-packer-1.0rc2-win32.zip && unzip -o ps2-packer-1.0rc2-win32.zip -d /share/ps2-packer`\r\n\r\nOr you guys can upload it to this repo under it's downloads/releases?"},"comment":{"url":"https://api.github.com/repos/ps2dev/ps2-packer/issues/comments/414352729","html_url":"https://github.com/ps2dev/ps2-packer/issues/13#issuecomment-414352729","issue_url":"https://api.github.com/repos/ps2dev/ps2-packer/issues/13","id":414352729,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDM1MjcyOQ==","user":{"login":"sp193","id":3446348,"node_id":"MDQ6VXNlcjM0NDYzNDg=","avatar_url":"https://avatars1.githubusercontent.com/u/3446348?v=4","gravatar_id":"","url":"https://api.github.com/users/sp193","html_url":"https://github.com/sp193","followers_url":"https://api.github.com/users/sp193/followers","following_url":"https://api.github.com/users/sp193/following{/other_user}","gists_url":"https://api.github.com/users/sp193/gists{/gist_id}","starred_url":"https://api.github.com/users/sp193/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sp193/subscriptions","organizations_url":"https://api.github.com/users/sp193/orgs","repos_url":"https://api.github.com/users/sp193/repos","events_url":"https://api.github.com/users/sp193/events{/privacy}","received_events_url":"https://api.github.com/users/sp193/received_events","type":"User","site_admin":false},"created_at":"2018-08-20T15:13:24Z","updated_at":"2018-08-20T15:13:24Z","author_association":"MEMBER","body":"Even if you do get away with renaming/moving files, there is likely something we are not understanding. I guess the PREFIX definition within ps2-packer.c somehow evaluates to an empty string. That could explain how the share folder (/shared) is somehow selected instead of $PS2DEV/shared.\r\nBut because I don't see any obvious reason for this and neither do I have a working toolchain on Windows (particularly under MinGW), I cannot see why it's not working.\r\n\r\nI have Cygwin installed, so I scapped together some code from ps2-packer, just to print what PREFIX becomes during compilation. But it seems to print \"/usr/local/ps2dev\" just fine.\r\n\r\nThere could be some obscure differences in the functions provided by some tool (could be Make or some shell tool), which is part of your MinGW installation.\r\nGiven that your MinGW tools are likely very old as well, I don't even know whether this is a bug or a feature.\r\n\r\nFor now, at least until somebody can explain why this glitch occurs, I would like to put this on hold."}}
{"actor":{"display_login":"sp193"}}