purple-mattermost icon indicating copy to clipboard operation
purple-mattermost copied to clipboard

CentOS install not working...

Open toddmusheno opened this issue 5 years ago • 8 comments

[todd.musheno@oh-c9q8jv2 ~]$ sudo yum install rpm-build json-glib-devel libmarkdown-devel libpurple-devel mercurial [sudo] password for todd.musheno: Loaded plugins: fastestmirror, langpacks Repository nodesource is listed more than once in the configuration Repository nodesource-source is listed more than once in the configuration Loading mirror speeds from cached hostfile

  • base: mirror.tzulo.com
  • extras: repos-va.psychz.net
  • updates: mirror.cs.vt.edu Package rpm-build-4.11.3-35.el7.x86_64 already installed and latest version Package json-glib-devel-1.4.2-2.el7.x86_64 already installed and latest version No package libmarkdown-devel available. Package libpurple-devel-2.10.11-7.el7.x86_64 already installed and latest version Package mercurial-2.6.2-8.el7_4.x86_64 already installed and latest version Nothing to do [todd.musheno@oh-c9q8jv2 ~]$ git clone https://github.com/EionRobb/purple-mattermost.git && cd purple-mattermost; Cloning into 'purple-mattermost'... remote: Enumerating objects: 70, done. remote: Counting objects: 100% (70/70), done. remote: Compressing objects: 100% (55/55), done. remote: Total 905 (delta 36), reused 37 (delta 15), pack-reused 835 Receiving objects: 100% (905/905), 654.50 KiB | 0 bytes/s, done. Resolving deltas: 100% (565/565), done. [todd.musheno@oh-c9q8jv2 purple-mattermost]$ OLD_LANG=$LANG [todd.musheno@oh-c9q8jv2 purple-mattermost]$ LANG=en_US.UTF-8 [todd.musheno@oh-c9q8jv2 purple-mattermost]$ make && make rpm Error: You need libmarkdown (discount) development headers installed to be able to compile this plugin rm -f FAILNODISCOUNT rm -rf /home/todd.musheno/purple-mattermost/rpmdir rm -f purple-mattermost.spec mkdir -p /home/todd.musheno/purple-mattermost/rpmdir/{BUILD,RPMS,SRPMS,SOURCES,SPECS} cp purple-mattermost.spec.in purple-mattermost.spec sed -i 's|@PLUGIN_VERSION@|1.1.2019.09.05.git.e21f18c|' purple-mattermost.spec tar -czf /home/todd.musheno/purple-mattermost/rpmdir/SOURCES/purple-mattermost-1.1.2019.09.05.git.e21f18c.tar.gz --exclude-vcs --transform 's|^.|purple-mattermost-1.1.2019.09.05.git.e21f18c|' --exclude purple-mattermost-1.1.2019.09.05.git.e21f18c.tar.gz . rpmbuild -ta /home/todd.musheno/purple-mattermost/rpmdir/SOURCES/purple-mattermost-1.1.2019.09.05.git.e21f18c.tar.gz --define '_topdir /home/todd.musheno/purple-mattermost/rpmdir' error: Failed build dependencies: libmarkdown-devel >= 2.1.8 is needed by purple-mattermost-1.1.2019.09.05.git.e21f18c-1.el7.x86_64 make: *** [rpm] Error 1

toddmusheno avatar Sep 05 '19 16:09 toddmusheno

No package libmarkdown-devel available. Error: You need libmarkdown (discount) development headers installed to be able to compile this plugin error: Failed build dependencies: libmarkdown-devel >= 2.1.8 is needed by purple-mattermost-1.1.2019.09.05.git.e21f18c-1.el7.x86_64

Sounds like the package might be called something other than 'libmarkdown-devel' on your distro, or you might need to compile it from source?

EionRobb avatar Sep 05 '19 18:09 EionRobb

Either way your instruction instruction is not correct.

I am using CentOS btw

Todd

On Thu, Sep 5, 2019, 2:33 PM Eion Robb [email protected] wrote:

No package libmarkdown-devel available. Error: You need libmarkdown (discount) development headers installed to be able to compile this plugin error: Failed build dependencies: libmarkdown-devel >= 2.1.8 is needed by purple-mattermost-1.1.2019.09.05.git.e21f18c-1.el7.x86_64

Sounds like the package might be called something other than 'libmarkdown-devel' on your distro, or you might need to compile it from source?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/EionRobb/purple-mattermost/issues/115?email_source=notifications&email_token=AIBK443QVRQ3XUNCLHIA7JTQIFGHZA5CNFSM4IUAHPPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6AILGQ#issuecomment-528516506, or mute the thread https://github.com/notifications/unsubscribe-auth/AIBK445SMWP77WHYUZS4QQDQIFGHZANCNFSM4IUAHPPA .

toddmusheno avatar Sep 05 '19 20:09 toddmusheno

What version of CentOS? According to https://centos.pkgs.org/7/epel-x86_64/libmarkdown-devel-2.2.4-1.el7.x86_64.rpm.html it's called libmarkdown-devel in yum

EionRobb avatar Sep 05 '19 21:09 EionRobb

rpm -q centos-release centos-release-7-6.1810.2.el7.centos.x86_64

On Thu, Sep 5, 2019 at 5:06 PM Eion Robb [email protected] wrote:

What version of CentOS? According to https://centos.pkgs.org/7/epel-x86_64/libmarkdown-devel-2.2.4-1.el7.x86_64.rpm.html it's called libmarkdown-devel in yum

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/EionRobb/purple-mattermost/issues/115?email_source=notifications&email_token=AIBK446E5EOHR254RFO3CC3QIFYEBA5CNFSM4IUAHPPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6AYJWA#issuecomment-528581848, or mute the thread https://github.com/notifications/unsubscribe-auth/AIBK446JZDDQBXVELEPJ2RLQIFYEBANCNFSM4IUAHPPA .

-- U.N.I.T MRA T Musheno (Brig) [email protected]

toddmusheno avatar Sep 06 '19 14:09 toddmusheno

sudo yum install libmarkdown-devel [sudo] password for todd.musheno: Loaded plugins: fastestmirror, langpacks Repository nodesource is listed more than once in the configuration Repository nodesource-source is listed more than once in the configuration Loading mirror speeds from cached hostfile epel/x86_64/metalink | 16 kB 00:00

  • base: mirror.datto.com
  • epel: mirror.grid.uchicago.edu
  • extras: mirror.cogentco.com
  • updates: mirror.math.princeton.edu base | 3.6 kB 00:00

code | 2.9 kB 00:00

extras | 3.4 kB 00:00

google-chrome | 1.3 kB 00:00

updates | 3.4 kB 00:00

google-chrome/primary | 2.0 kB 00:00

google-chrome 3/3 Package libmarkdown-devel-2.2.4-1.el7.x86_64 already installed and latest version Nothing to do

On Fri, Sep 6, 2019 at 10:48 AM Brig TB Musheno [email protected] wrote:

rpm -q centos-release centos-release-7-6.1810.2.el7.centos.x86_64

On Thu, Sep 5, 2019 at 5:06 PM Eion Robb [email protected] wrote:

What version of CentOS? According to https://centos.pkgs.org/7/epel-x86_64/libmarkdown-devel-2.2.4-1.el7.x86_64.rpm.html it's called libmarkdown-devel in yum

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/EionRobb/purple-mattermost/issues/115?email_source=notifications&email_token=AIBK446E5EOHR254RFO3CC3QIFYEBA5CNFSM4IUAHPPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6AYJWA#issuecomment-528581848, or mute the thread https://github.com/notifications/unsubscribe-auth/AIBK446JZDDQBXVELEPJ2RLQIFYEBANCNFSM4IUAHPPA .

-- U.N.I.T MRA T Musheno (Brig) [email protected]

-- U.N.I.T MRA T Musheno (Brig) [email protected]

toddmusheno avatar Sep 06 '19 15:09 toddmusheno

It seems strange that yum could not find the packet at first and now you have it installed. Anyway, did you retry the build with the libmarkdown-devel installed?

thorgrin avatar Oct 03 '19 11:10 thorgrin

yes

On Thu, Oct 3, 2019 at 7:04 AM Petr Velan [email protected] wrote:

It seems strange that yum could not find the packet at first and now you have it installed. Anyway, did you retry the build with the libmarkdown-devel installed?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/EionRobb/purple-mattermost/issues/115?email_source=notifications&email_token=AIBK44ZOQM4UCI43MH54RO3QMXGSLA5CNFSM4IUAHPPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAH2URQ#issuecomment-537897542, or mute the thread https://github.com/notifications/unsubscribe-auth/AIBK446CIT3YICGGV2WHNFLQMXGSLANCNFSM4IUAHPPA .

-- U.N.I.T MRA T Musheno (Brig) [email protected]

toddmusheno avatar Oct 03 '19 13:10 toddmusheno

Hi @toddmusheno,

Just to let you know, there is actually a purple-mattermost package in EPEL7, so you don't actually need to build it yourself (unless you want to of course!).

It was a bit outdated (I forgot to update it the last time I synced the Fedora package with upstream), but I've just built the latest version. It should make its way into the testing repo within a day.

TC01 avatar Oct 04 '19 08:10 TC01