-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using installed headers, not ones in src/ ? - no version.h #21
Comments
This happens with |
A workaround is to add the location of installed GAP includes (with |
@fingolfin - do you know a quick way to fix it? |
I don't understand: what is the issue? Can you please paste the full error message you are getting? |
It's due to Sage's way to install gap packages - we are separating building GAP with core packages from building more GAP packages. With GAP 4.11, Can |
I still don't understand what's going on. Please provide some details:
|
Also:
|
4.12.0 (but out setup is still mostly what's left over from GAP 4.11 - the question is by how much
the one bundled with 4.12.0 (I gather it's not very new).
no, we don't run
what we notice is that Sorry for this all being fuzzy. I'll ask a meaningful question in the next comment |
Presently
errors out with
I know that |
Yeah, the Once you have that, you should be able to use |
Thanks!
…On Tue, 18 Oct 2022, 22:05 Max Horn, ***@***.***> wrote:
Yeah, the doc/dev bug is known (and quite stupid *sigh*), and already
fixed in both master and stable-4.12.0, see gap-system/gap#5091
<gap-system/gap#5091> -- as such the fix will be
in GAP 4.12.1, to be released this week.
Once you have that, you should be able to use make install just fine,
though there are a few other bugs in there -- I would recommend to wait a
few days and try 4.12.1. Or maybe apply the patch now and try make install
(should allow you to remove most of your custom script and things should
just work), and then you'll be ready to switch to 4.12.1 when it is there.
—
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJXYHD2RZA45ZCCNE7QJDTWD4GJ5ANCNFSM6AAAAAARHJPL4M>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
As we don't have What is the supposed directory structure when we install
Or is it different, or more complicated ? |
The package needs to be in a single directory currently. Your choice whether to put it into |
There is actually another problem we have with While it's possible to add One way (and the correct one, IMHO) would be to add |
My previous comment is somewhat misplaced, as in this particular case it's about calling |
Please describe the actual problem (not just what you think is the cause of the problem). Specifically: what is your input, what is the error you get? Please, the full output. As it is, I just tried cp -r pkg $libdir/lib/gap
cd $libdir/lib/gap/pkg/crypting
./configure $libdir/lib/gap # actually could have omitted the argument in this case
make
You should't have to add anything. The package build system automatically does the right thing, based on the content of |
It absolutely does encode it, unless you patched it out or are not using the |
Just to be clear: my long term plan is to allow packages to use either But this should not be done as an overnight breaking change. So for some time all the different ways in use by packages to access GAP headers need to keep working, until at least all distributed packages have been adapted (there are of course further packages which are not distributed, which then might break... I try my best to reach out and prevent it, but in the end, there is a limit to what I can do). Since this needs to take all packages into account, it's a slow process. We are pretty close now, due to me working on it on the side, mostly without any aid, over the past couple years, updating tons of packages to have sane build systems, avoid various problematic practices, use sane includes etc.; and then coaxing package maintainers to merge my PRs, make releases (and in many cases taking over maintainership and making those releases myself). But it is a slow process. Also, package authors must either be willing to drop support for older GAP versions, or come up with a way to stay compatible with both old and new versions. More realistically, someone needs to provide them with such a compatibility solution -- so far this again is something which mostly I am the only one working towards. But in all of this, I really don't see how crypting is a specific problem. It seems to work fine both with a "classic" GAP installation and the new |
OK, I probably don't understand how (in)complete |
With GAP installed via |
The directory containing |
Thanks. It appears that everything is installing and testing mostly OK, if I just drop the old Sage's workarounds of installing stuff in |
Almost done, but here is a package importing problem I have that breaks
and the 2nd run (after leaving the In a similar vein, the 1st run of
and the 2nd run ((after leaving the Some name clash somewhere - how to debug this? |
It appears that many (all?) packages don't have their own |
See also gap-packages/PackageManager#105 - which is the same as
|
Thanks for opening the PackageManager issue, I just commented on it. Regarding |
I see that it uses headers in
src/
, but these come withoutversion.h
, onlyversion.h.in
.The text was updated successfully, but these errors were encountered: