{"action":"opened","issue":{"url":"https://api.github.com/repos/BALL-Project/ball/issues/504","labels_url":"https://api.github.com/repos/BALL-Project/ball/issues/504/labels{/name}","comments_url":"https://api.github.com/repos/BALL-Project/ball/issues/504/comments","events_url":"https://api.github.com/repos/BALL-Project/ball/issues/504/events","html_url":"https://github.com/BALL-Project/ball/issues/504","id":58307481,"number":504,"title":"Slackware compiling problem","user":{"login":"anhi","id":1349738,"avatar_url":"https://avatars.githubusercontent.com/u/1349738?v=3","gravatar_id":"","url":"https://api.github.com/users/anhi","html_url":"https://github.com/anhi","followers_url":"https://api.github.com/users/anhi/followers","following_url":"https://api.github.com/users/anhi/following{/other_user}","gists_url":"https://api.github.com/users/anhi/gists{/gist_id}","starred_url":"https://api.github.com/users/anhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anhi/subscriptions","organizations_url":"https://api.github.com/users/anhi/orgs","repos_url":"https://api.github.com/users/anhi/repos","events_url":"https://api.github.com/users/anhi/events{/privacy}","received_events_url":"https://api.github.com/users/anhi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/BALL-Project/ball/labels/C:%20BALL%20Core","name":"C: BALL Core","color":"0000aa"},{"url":"https://api.github.com/repos/BALL-Project/ball/labels/P:%20major","name":"P: major","color":"f6f6f6"},{"url":"https://api.github.com/repos/BALL-Project/ball/labels/T:%20enhancement","name":"T: enhancement","color":"cccccc"}],"state":"open","locked":false,"assignee":{"login":"anhi","id":1349738,"avatar_url":"https://avatars.githubusercontent.com/u/1349738?v=3","gravatar_id":"","url":"https://api.github.com/users/anhi","html_url":"https://github.com/anhi","followers_url":"https://api.github.com/users/anhi/followers","following_url":"https://api.github.com/users/anhi/following{/other_user}","gists_url":"https://api.github.com/users/anhi/gists{/gist_id}","starred_url":"https://api.github.com/users/anhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anhi/subscriptions","organizations_url":"https://api.github.com/users/anhi/orgs","repos_url":"https://api.github.com/users/anhi/repos","events_url":"https://api.github.com/users/anhi/events{/privacy}","received_events_url":"https://api.github.com/users/anhi/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/BALL-Project/ball/milestones/2","labels_url":"https://api.github.com/repos/BALL-Project/ball/milestones/2/labels","id":987572,"number":2,"title":"BALL 2.0","description":"Next major version of BALL. Temporarily a synonym for (distant) future.","creator":{"login":"anhi","id":1349738,"avatar_url":"https://avatars.githubusercontent.com/u/1349738?v=3","gravatar_id":"","url":"https://api.github.com/users/anhi","html_url":"https://github.com/anhi","followers_url":"https://api.github.com/users/anhi/followers","following_url":"https://api.github.com/users/anhi/following{/other_user}","gists_url":"https://api.github.com/users/anhi/gists{/gist_id}","starred_url":"https://api.github.com/users/anhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anhi/subscriptions","organizations_url":"https://api.github.com/users/anhi/orgs","repos_url":"https://api.github.com/users/anhi/repos","events_url":"https://api.github.com/users/anhi/events{/privacy}","received_events_url":"https://api.github.com/users/anhi/received_events","type":"User","site_admin":false},"open_issues":62,"closed_issues":24,"state":"open","created_at":"2015-02-19T22:57:11Z","updated_at":"2015-02-20T03:52:46Z","due_on":"1970-01-01T00:00:00Z","closed_at":null},"comments":0,"created_at":"2015-02-20T03:52:46Z","updated_at":"2015-02-20T03:52:46Z","closed_at":null,"body":"**Reported by ivanp84 on 8 Jun 43405449 17:59 UTC**\nHi!\r\nI'm trying to write SlackBuild script for BALL. I think that I'm on the right way to do that, but I have faced a compiling problem at about 95% of the building process. Here is how it looks like:\r\n\r\n\r\n```\r\n[ 94%] Built target splitMMFFTestSuiteOptiFiles\r\nScanning dependencies of target testKekulizer\r\n[ 95%] Building CXX object CMakeFiles/testKekulizer.dir/source/APPLICATIONS/MMFF94/testKekulizer.o\r\nLinking CXX executable bin/testKekulizer\r\n[ 95%] Built target testKekulizer\r\n[ 95%] Generating BALLCoremodule/sipBALLCorepart0.cpp, BALLCoremodule/sipBALLCorepart1.cpp, BALLCoremodule/sipBALLCorepart2.cpp, BALLCoremodule/sipBALLCorepart3.cpp, BALLCoremodule/sipBALLCorepart4.cpp, BALLCoremodule/sipBALLCorepart5.cpp, BALLCoremodule/sipBALLCorepart6.cpp, BALLCoremodule/sipBALLCorepart7.cpp\r\n\r\nsip: /tmp/SBo/BALL-1.4.2/source/PYTHON/EXTENSIONS/BALL/RMSDMinimizer.sip:30: RMSDMinimizer::computeTransformation() unsupported function return type - provide %MethodCode and a C++ signature\r\nmake[*** [source/PYTHON/EXTENSIONS/BALLCoremodule/sipBALLCorepart0.cpp](2]:) Error 1\r\nmake[*** [source/PYTHON/EXTENSIONS/CMakeFiles/BALLCoremodule.dir/all](1]:) Error 2\r\nmake: *** [Error 2\r\n\r\n\r\n\r\n```\r\nI hope so that this is a minor problem, connected with missing library, etc. Also, I'm providing you ball.SlackBuild script that I wrote this morning.\r\nThanks, Ivan\r\n\r\n\r\n```\r\n\r\n#!/bin/sh -e\r\n# Slackware build script for BALL (Biochemical Algorithms Library)\r\n#\r\n# Written by Ivan D. Pavicevic <ivanp84@gmail.com>\r\n#\r\n\r\nPRGNAM=BALL\r\nVERSION=${VERSION:-1.4.2}\r\nBUILD=${BUILD:-1}\r\nTAG=${TAG:-_SBo}\r\n\r\nif [ -z \"$ARCH\" ](all]); then\r\n  case \"$( uname -m )\" in\r\n    i?86) ARCH=i486 ;;\r\n    arm*) ARCH=arm ;;\r\n       *) ARCH=$( uname -m ) ;;\r\n  esac\r\nfi\r\n\r\nCWD=$(pwd)\r\nTMP=${TMP:-/tmp/SBo}\r\nPKG=$TMP/package-$PRGNAM\r\nOUTPUT=${OUTPUT:-/tmp}\r\n\r\nif [ \"$ARCH\" = \"i486\" ]; then\r\n  SLKCFLAGS=\"-O2 -march=i486 -mtune=i686\"\r\n  LIBDIRSUFFIX=\"\"\r\nelif [ \"$ARCH\" = \"i686\" ]; then\r\n  SLKCFLAGS=\"-O2 -march=i686 -mtune=i686\"\r\n  LIBDIRSUFFIX=\"\"\r\nelif [ \"$ARCH\" = \"x86_64\" ]; then\r\n  SLKCFLAGS=\"-O2 -fPIC\"\r\n  LIBDIRSUFFIX=\"64\"\r\nelse\r\n  SLKCFLAGS=\"-O2\"\r\n  LIBDIRSUFFIX=\"\"\r\nfi\r\n\r\nrm -rf $PKG\r\nmkdir -p $TMP $PKG $OUTPUT\r\ncd $TMP\r\nrm -rf $PRGNAM-$VERSION\r\ntar xvf $CWD/$PRGNAM-$VERSION.tar.?z*\r\ncd $PRGNAM-$VERSION\r\nchown -R root:root .\r\nfind . \\\r\n \\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \\) \\\r\n -exec chmod 755 {} \\; -o \\\r\n \\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \\) \\\r\n -exec chmod 644 {} \\;\r\n\r\ncmake -DCMAKE_INSTALL_PREFIX:PATH=/usr . && make all install INSTALL_ROOT=$PKG\r\n\r\nmv $PKG/usr/share/man $PKG/usr\r\nfind $PKG/usr/man -type f -exec gzip -9 {} \\;\r\nfor i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done\r\n\r\nmkdir -p $PKG/usr/doc/$PRGNAM-$VERSION\r\ncp -a \\\r\n   ChangeLog COPYRIGHT README \\\r\n  $PKG/usr/doc/$PRGNAM-$VERSION\r\ncat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild\r\n\r\nmkdir -p $PKG/install\r\ncat $CWD/slack-desc > $PKG/install/slack-desc\r\n\r\ncd $PKG\r\n/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}\r\n\r\n```\r\n"}}