install fnmatch problem

292 views
Skip to first unread message

GeneR...@sympatico.ca

unread,
Dec 26, 2018, 1:18:04 PM12/26/18
to Kona Users
I am new to programming and recently switched from Windows to Linux Mint 17.3 Rosa x86 64.

I am trying to install Kona from Github and am stumped at the following error message ...

In file included from src/0.c:1:0:
src/incs.h:17:21: fatal error: fnmatch.h: No such file or directory
#include <fnmatch.h>
^
compilation terminated.
make: *** [src/0.o] Error 1

---

Can anyone tell me how to get past this error message and into the kona program ? Thanks

Steve Graham

unread,
Dec 26, 2018, 2:18:02 PM12/26/18
to Kona Users
I am running Ubuntu 18.04.1 LTS and I find fnmatch.h in the /usr/include directory.  I would assume it is automatically loaded with most any version of Linux.

Are you running Cinnamon or some other DE?


Steve

---

GeneR...@sympatico.ca

unread,
Dec 26, 2018, 6:24:40 PM12/26/18
to Kona Users
Thanks for your reply.No not cinnamon ...I am running Linux Mint v17.3 Rosa x86 64. It is not that old. They do have Mint v18 out now.

I did not find a file called FNMATCH in my usr/include directory.
I am not that familiar with how linux works. I looked and found packages for
fnmatch for perl and python & installed them but that didn't help.
Do you know of some place where I can get the simple fnmatch that you have ?

Steve Graham

unread,
Dec 26, 2018, 6:42:42 PM12/26/18
to kona...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "Kona Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kona-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

GeneR...@sympatico.ca

unread,
Dec 28, 2018, 7:09:00 AM12/28/18
to Kona Users
Steve, tThanks for your help :) which led me to a solution which I am sharing here in case any other Linux Mint users run into this problem.
Apparently kona was tested with Linux Mint v16 and v18. I have v17 which apparently is missing some essential files.I found this explanation ...

"by default only the 64 bit libraries are included and all the header files goes info /usr/include/x86_64-linux-gnu (although the header files are same for 32 bit and 64 bit). These are part of debian package lib6-dev. If you want the 32 bit libraries then install the package libc6-dev-i386. This package creates /usr/include/sys along with other ones. However the headers are soft linked to /usr/include/x86_64-linux-gnu/sys."

After installing the package libc6-dev-i386 kona worked.

Steve Graham

unread,
Dec 28, 2018, 10:08:59 AM12/28/18
to kona...@googlegroups.com
Glad you found your answer.

--

Steve Graham

unread,
Dec 28, 2018, 10:09:40 AM12/28/18
to kona...@googlegroups.com
What is your motivation for using Kona?

On Fri, Dec 28, 2018 at 4:09 AM <GeneR...@sympatico.ca> wrote:
--

GeneR...@sympatico.ca

unread,
Dec 28, 2018, 9:34:01 PM12/28/18
to Kona Users

On Friday, December 28, 2018 at 10:09:40 AM UTC-5, Steve Graham wrote:
What is your motivation for using Kona

I am now part of a team that has its roots in APL & J programming which believes that K and q and similar vector languages are the future.
We are having some classes on how to use Q and K and right now are working through the “Q for Mortals” book.

Since we can access q in k, we are wondering if we can access q in kona. If so, how ? Thanks

Steve Graham

unread,
Dec 29, 2018, 2:10:23 AM12/29/18
to kona...@googlegroups.com
Thanks.

--

GeneR...@sympatico.ca

unread,
Dec 29, 2018, 5:06:05 AM12/29/18
to Kona Users
So is it possible to access q in kona ?

douglas mennella

unread,
Dec 13, 2021, 3:55:23 AM12/13/21
to Kona Users
First off, I believe that q gives you access to k and not the other way around since q is built on top of k.  I don't believe anyone has attempted to build a version of q on top of any opensource variant of k.
Reply all
Reply to author
Forward
0 new messages