pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Adding devel/gettext as dependency of lang/php80?



On Fri, 2 Jul 2021 at 07:26, Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
>
> lang/php80 also built without any problems; I left the system building all additional php80 modules from meta-pkgs.

Some of the php80 modules were built, but it got stuck in
databases/mariadb105-client:
.....
[ 99%] Building CXX object client/CMakeFiles/mariadb-admin.dir/mysqladmin.cc.o
/work/databases/mariadb105-client/work/mariadb-10.5.10/client/mysql.cc:105:24:
error: variable or field 'my_vidattr' declared void
 static void my_vidattr(chtype attrs)
                        ^~~~~~
/work/databases/mariadb105-client/work/mariadb-10.5.10/client/mysql.cc:105:24:
error: 'chtype' was not declared in this scope
/work/databases/mariadb105-client/work/mariadb-10.5.10/client/mysql.cc:105:24:
note: suggested alternative: 'wctype'
 static void my_vidattr(chtype attrs)
                        ^~~~~~
                        wctype
/work/databases/mariadb105-client/work/mariadb-10.5.10/client/mysql.cc:
In function 'int com_status(String*, char*)':
/work/databases/mariadb105-client/work/mariadb-10.5.10/client/mysql.cc:4825:16:
error: 'A_BOLD' was not declared in this scope
     my_vidattr(A_BOLD);
                ^~~~~~
/work/databases/mariadb105-client/work/mariadb-10.5.10/client/mysql.cc:4825:5:
error: 'my_vidattr' was not declared in this scope
     my_vidattr(A_BOLD);
     ^~~~~~~~~~

.....


I added CURSES_DEFAULT=ncurses to mk.conf, but this did not make any
difference.





>
> On Fri, 2 Jul 2021, 05:10 hung.nguyengia, <hung.nguyengia%protonmail.com@localhost> wrote:
>>
>> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>>
>> On Friday, July 2nd, 2021 at 3:51 AM, Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
>>
>> > On Thu, 1 Jul 2021 at 18:41, Chavdar Ivanov ci4ic4%gmail.com@localhost wrote:
>> >
>> > > On Thu, 1 Jul 2021 at 17:44, hung.nguyengia
>> > >
>> > > hung.nguyengia%protonmail.com@localhost wrote:
>> > >
>> > > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>> > > >
>> > > > On Thursday, July 1st, 2021 at 10:26 PM, J. Lewis Muir jlmuir%imca-cat.org@localhost wrote:
>> > > >
>> > > > > On 06/30, hung.nguyengia wrote:
>> > > > >
>> > > > > > Oh sorry. I'm on a RHEL clone.
>> > > > >
>> > > > > That's not specific enough; what OS and version?
>> > > >
>> > > > How could I know? I only know I could install CentOS's rpm packages on it.
>> > >
>> > > Very easy. On my recent Rocky (one of the recent Centos replacements,
>> > >
>> > > rather good so far) I get:
>> > > -------------------------------------------------------------------------------------------------
>> > >
>> > > ls /etc/*release
>> > > ================
>> > >
>> > > /etc/os-release /etc/redhat-release /etc/rocky-release /etc/system-release
>> > >
>> > > cat /etc/os-release
>> > > ===================
>> > >
>> > > NAME="Rocky Linux"
>> > >
>> > > VERSION="8.4 (Green Obsidian)"
>> > >
>> > > ID="rocky"
>> > >
>> > > ID_LIKE="rhel fedora"
>> > >
>> > > VERSION_ID="8.4"
>> > >
>> > > PLATFORM_ID="platform:el8"
>> > >
>> > > PRETTY_NAME="Rocky Linux 8.4 (Green Obsidian)"
>> > >
>> > > ANSI_COLOR="0;32"
>> > >
>> > > CPE_NAME="cpe:/o:rocky:rocky:8.4:GA"
>> > >
>> > > HOME_URL="https://rockylinux.org/";
>> > >
>> > > BUG_REPORT_URL="https://bugs.rockylinux.org/";
>> > >
>> > > ROCKY_SUPPORT_PRODUCT="Rocky Linux"
>> > >
>> > > ROCKY_SUPPORT_PRODUCT_VERSION="8"
>> > >
>> > > cat /etc/redhat-release
>> > > =======================
>> > >
>> > > Rocky Linux release 8.4 (Green Obsidian)
>> > >
>> > > cat /etc/rocky-release
>> > > ======================
>> > >
>> > > Rocky Linux release 8.4 (Green Obsidian)
>> > >
>> > > cat /etc/system-release
>> > > =======================
>> > >
>> > > Rocky Linux release 8.4 (Green Obsidian)
>> > > ----------------------------------------
>> > >
>> > > > > > After I get lang/php80 installed I did a bmake clean clean-depends so I have no log left to show.
>> > > > >
>> > > > > You can build it again if you want to make progress on this issue.
>> > > > >
>> > > > > Lewis
>> > > >
>> > > > No. I already have lang/php80 built for me and I will not do it again. My current struggle is with lang/nodejs. I can't give you the exact error message of lang/php80 but I'm sure the error is about missing of libintl. This library is missing so it can't be linked. Installing gettext-devel from the system solved this because it installed libintl into /usr/lib64. I think installing devel/gettext would archive the same effect.
>> > >
>> > > I am going to bootstrap pkgsrc on this system to see how it goes.
>> >
>> > Works without a single problem:
>> >
>> > ...
>> >
>> > pkg_info nodejs
>> > ===============
>> >
>> > Information for nodejs-12.22.1nb2:
>> >
>> > Comment:
>> >
>> > V8 JavaScript for clients and servers
>> >
>> > Requires:
>> >
>> > openssl>=1.1.1dnb2
>> >
>> > libuv>=1.41
>> >
>> > zlib>=1.2.3
>> >
>> > libcares>=1.6.0
>> >
>> > brotli>=1.0.1
>> >
>> > nghttp2>=1.43.0nb2
>> >
>> > Description:
>> >
>> > Node.js is an evented I/O framework for the V8 JavaScript engine. It is
>> >
>> > intended for writing scalable network programs such as web servers.
>> >
>> > This package holds the 12.x LTS release.
>> >
>> > Homepage:
>> >
>> > https://nodejs.org/
>> >
>> > uname -a
>> > ========
>> >
>> > Linux r0cky.lorien.lan 4.18.0-305.3.1.el8_4.x86_64 #1 SMP Thu Jun 17
>> >
>> > 07:52:48 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
>> >
>> > node --version
>> > ==============
>> >
>> > v12.22.1
>> >
>> > which node
>> > ==========
>> >
>> > /usr/pkg/bin/node
>> >
>> > > Chavdar
>> > >
>> > > --
>> > > --
>> >
>> > --
>>
>> lang/nodejs doesn't build for me. But the problem on this topic is about lang/php80. Check on your system if you accidentally have gettext-devel already installed. On a ROSA linux system, this package is not installed. Please test if lang/php80 built for you. Thanks.



-- 
----


Home | Main Index | Thread Index | Old Index