You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Steve Lawrence (Jira)" <ji...@apache.org> on 2021/05/14 23:48:00 UTC

[jira] [Updated] (DAFFODIL-2516) runtime2 does not compile on FreeBSD

     [ https://issues.apache.org/jira/browse/DAFFODIL-2516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Lawrence updated DAFFODIL-2516:
-------------------------------------
    Description: 
runtime2 does not compile on FreeBSD because because of different include locations, from a user:

1. It looked like the runtime2 C code was looking for the Mini-XML dependencies under /usr whereas the package on FreeBSD is stored under /usr/local, and;
2. Some C files under runtime2 were including <endian.h> whereas the file was under /usr/include/sys.

CFLAGS env variable support might help with this, or maybe there are some system properties that could be read to add include locations. Might also be able to look for/use pkg-config too.

  was:
runtime2 does not compile on FreeBSD because because of different include locations, from a user:

1. It looked like the runtime2 C code was looking for the Mini-XML dependencies under /usr whereas the package on FreeBSD is stored under /usr/local, and;
2. Some C files under runtime2 were including <endian.h> whereas the file was under /usr/local/sys.

CFLAGS env variable support might help with this, or maybe there are some system properties that could be read to add include locations. Might also be able to look for/use pkg-config too.


> runtime2 does not compile on FreeBSD
> ------------------------------------
>
>                 Key: DAFFODIL-2516
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2516
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Back End C-Generator
>    Affects Versions: 3.1.0
>            Reporter: Steve Lawrence
>            Priority: Major
>
> runtime2 does not compile on FreeBSD because because of different include locations, from a user:
> 1. It looked like the runtime2 C code was looking for the Mini-XML dependencies under /usr whereas the package on FreeBSD is stored under /usr/local, and;
> 2. Some C files under runtime2 were including <endian.h> whereas the file was under /usr/include/sys.
> CFLAGS env variable support might help with this, or maybe there are some system properties that could be read to add include locations. Might also be able to look for/use pkg-config too.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)