From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wK1KKfnJgWE+VQAAgWs5BA (envelope-from ) for ; Wed, 03 Nov 2021 00:30:01 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id eDoPJfnJgWHUAwAA1q6Kng (envelope-from ) for ; Tue, 02 Nov 2021 23:30:01 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 03C182DEC0 for ; Wed, 3 Nov 2021 00:30:01 +0100 (CET) Received: from localhost ([::1]:38686 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mi3E8-0004kI-55 for larch@yhetil.org; Tue, 02 Nov 2021 19:30:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52766) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mi3DI-00044b-Jw for help-guix@gnu.org; Tue, 02 Nov 2021 19:29:09 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:37410) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mi3DG-0007eo-8Y for help-guix@gnu.org; Tue, 02 Nov 2021 19:29:08 -0400 Received: by mail-wm1-x333.google.com with SMTP id y84-20020a1c7d57000000b00330cb84834fso3223362wmc.2 for ; Tue, 02 Nov 2021 16:29:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=user-agent:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=PlD9IOkk1DHjcB3w+myhEU+WjtzycVH1EczIv/Cq8ug=; b=pje6wwnAWVL80L1duB+iaOPI9J6ETFBucAek7iaWCfU+UOAgaLPlm5aVvTQtwzizDb HvWohyLJaPmgwUjvttnZteXaaekIxYE4njGqhKWa1lvzGgIruM9/py6gkIYjoB2LmTmD 2nefGTwyQje/WWdUcS2gBkox3idUlergZXxCEDun+2pc1aHEg5TlbsjKtc6brHYmOZyq /GAHA8J5HpE0k6U+KqiWggrRM92/hVrI8NH6i50eO4SJ8UQPuMK4oqjsvzVTd9i2GGov Wno4BtzHdB6onG+/FzQNMUZ0x+tGAkevZAxK+fugfGDcXiqWuC6ZBG2YdRI+YbcoMy/Z qIuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version:content-transfer-encoding; bh=PlD9IOkk1DHjcB3w+myhEU+WjtzycVH1EczIv/Cq8ug=; b=04O8xLqDCAL1ZRIJF339RQV0BasY6uAePPGXq9SEWo8cK9JvO+i6vUcSF3sg6ouG9J NaHJhOzzf4RFvOREx+sLeym02hLLZqLdQvlxnovwUCxVKJukv4ypZenn+r86W1epq0xQ XR4VxBQu4nD+xMpI0dYXSEiuCiQHvLdO1Fhbn5y9DJ6r0UGbqI8MD6GpGTQHlcZFjsJP uxfeWeszaTrXUkYpnWJkxv4+oyrv6vpAsQXVHRJNCW4C8nn+i8C/BfQSuEQ71e5UA945 P7wpqCMEQoVSjojRB7i0aOYN6H26qhZL89+ZDaO7qExHlnCMGd1Pc1DbvxSl4piJ/qV3 dpnQ== X-Gm-Message-State: AOAM532lKd/yl8KFhV3zQ0JLGM+pS2BRHodbJduMOmoIh3tgZQICK9/m /O+ybtTZnvi0K6YYgVFksOAfNwb/jfRV+g== X-Google-Smtp-Source: ABdhPJy5ptzdci5P7sfmsy4KsHuGEySl/E8WDT7oAwNJgA9hSKSqTbDqiM19BVHf4GCkOBeMBGYMgw== X-Received: by 2002:a7b:c8ca:: with SMTP id f10mr10851080wml.6.1635895743876; Tue, 02 Nov 2021 16:29:03 -0700 (PDT) Received: from gazelle.gmail.com (p579adf4a.dip0.t-ipconnect.de. [87.154.223.74]) by smtp.gmail.com with ESMTPSA id q4sm360570wrs.56.2021.11.02.16.29.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Nov 2021 16:29:03 -0700 (PDT) User-agent: mu4e 1.6.6; emacs 28.0.60 From: =?utf-8?Q?Th=C3=A9o?= Maxime Tyburn To: help guix Subject: Using julia in guix Date: Tue, 02 Nov 2021 23:55:00 +0100 Message-ID: <878ry66ssq.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=theo.tyburn@gmail.com; helo=mail-wm1-x333.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635895801; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=PlD9IOkk1DHjcB3w+myhEU+WjtzycVH1EczIv/Cq8ug=; b=XhXgj8BqUz5l9Hhe8U5+h3ThCmPng0Pji6oEu/yCrW/cw4huzFHoetSAzi2/9TqnJAg1+T 5bsj+kDzDzTMxFllGIYzk7jt5NRmFEC2BdgOVdbPy90NoxG/5vAQItCbtknoX6uuK3HCMA dTxfQ5gHvIsezNxggys+uCIIaB3W3bk9ybUPbocYMCPWCL4WjFvZCgT2iJurTOSF4itJNA Ra9a8LmyGZIlfS0H2MUPivRgZuUPPH/YMhMdA3DLbkV8zTMMOVnGKm0pz7DwMiDIuETKJe duysoL+W+Wegza9rP3paHHJJjCwM4LbCv048+Bb2ArRcXbbtmilewXbT7DLrAg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635895801; a=rsa-sha256; cv=none; b=qrd6FZgK2OYabCFlGHdhflyKXxuneMftegNMCLPUUZ2zl38/7kqLLe8l2RScMMtNuovLSC XXcFOuC0gPGDHRQ646KgfGwJF9z1ENDt4bDbd6K+9CZ9nB/qPu5QN7ki5MYONJrB1lDeqU DDnK2VXnpvRguPzaOyEhxD1NDnR4zdhazzyz6yluyjLG3iVcFJp0H8WPmG6ZDq7BvZGyoE MS+Uy2kmGs1QzKI2dab/nfVQBcjAaZS5Bu9uISm0xoT0w//chXFvjCIwYuZdZC+fG1Y9zn MJRXQIo5dEcZZh1bOxfIkBE2DUMRsDYX2R1GCd52FHFI4u/Q52IQyB1biBSWLA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=pje6wwnA; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=pje6wwnA; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 03C182DEC0 X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: Kt4R1pLuvrWg Hello guix people and julia users! I started using julia in one of my university projects and I am not sure how this should be done the guix way. Has someone experience with this ? For know I just used the julia package manager and the packages are in ~/.julia. I was not able to use the guix packages for julia however. Should something be done manually to tell julia where to find its packages ? I encountered two problems. The first with the package "GR" the second with the package "GLFW". I encountered these bugs while trying the packages "Plots" and the "GLMakie" backend of "Makie" The GR bug: > julia> using GR > julia> histogram(randn(10000)) > env: =E2=80=98/home/teddd/.julia/artifacts/b5fea2b0d5c84336f26b139587a84e= e7e8ca2e12/bin/gksqt=E2=80=99: No such file or directory > connect: Connection refused > GKS: can't connect to GKS socket application it then exits because of a segmentation fault. I tried running the above inside this shell > guix shell gr-framework but the result is the same. The GLFW bug: > julia> using GLFW > julia> GLFW.CreateWindow(300,300, "Test") > ERROR: GLFWError (API_UNAVAILABLE): GLX: No GLXFBConfigs returned I also tried running this into > guix shell mesa glfw mesa-utils libglvnd with exact same result. Also I was able to compile and run a minimal GLFW C code so I think my glfw and mesa installs are fine. I am not sure these two errors are related but I have the impression they both come from the fact that guix doesn=E2=80=99t allow the access to some libraries or binaries the julia packages expect to find. Please correct me if I am wrong. Has someone an idea how I could investigate what is going wrong ? Kind Regards, Th=C3=A9o