Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Portable rootless ZSH
- X-seq: zsh-workers 44825
- From: Coden <codenb@xxxxxxxxxxxxxx>
- To: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Re: Portable rootless ZSH
- Date: Fri, 11 Oct 2019 19:32:27 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=default; t=1570822356; bh=PjR8qsqY+cemX5KTr1rfDwAdc+lZ9aWAasiUcW0Uo7U=; h=Date:To:From:Reply-To:Subject:In-Reply-To:References:Feedback-ID: From; b=tywDhqHYOysPQsWWv4a3LDobo1pXCXa/sm5xtYH/POEOgNfw1z2x/8U484RBaevSk fYUEreRlhzX7B77/XSBX1cRFOQTbXSlpCH5u1wlEjFtRpZvbi06lt6HKPBE8qQCrAG gmgvlRrnPUyy3eSI0+o1oG2V9Qxwzb1/7qv3Ljv4=
- Feedback-id: 1g_EZM5cadEHcIg82x2qZXWXT-U_XXBlI7kN837NwaZpram7G2oom_E1e2DIYhFQFmC50rpRJhWFHjVSm_Y7-w==:Ext:ProtonMail
- In-reply-to: <-1Pz0W4MKe73f-nCkejafEE_SNaTME3zWtRpz26zC_wtj9KNc0hpsLeZA60x2YG1GSs5D7RW10p5kfmsy5HRFiXl3oHHx3wt2NHVKUGfX_0=@protonmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <X8SiYN2toMZ5PPVZksUCEHWuP_LQiWjl_7pgD9MKXK3U7uS1TRvB1SjBAiZChh_o1t-wZg_wZI-OsnJ_GAKbf_VSFaZ7DrIySgPQbd9kYp0=@protonmail.com> <20191008204722.GU6761@ming.fruitbat.org> <TDwB1Iqe7IWM9v3ll1xTQHtjYH-dEp5OMRUBA341L7O4rccNO-nh6lUSKnXV-6HKFJ4yUlkmfrPeVBqNMxdr6_pIYXR6z40GWl3r3-S_QlM=@protonmail.com> <-1Pz0W4MKe73f-nCkejafEE_SNaTME3zWtRpz26zC_wtj9KNc0hpsLeZA60x2YG1GSs5D7RW10p5kfmsy5HRFiXl3oHHx3wt2NHVKUGfX_0=@protonmail.com>
- Reply-to: Coden <codenb@xxxxxxxxxxxxxx>
Hi Peter!
> The directories are given by fpath (array) and FPATH
Thank you for link to FPATH! It is one step forward for me. But I've faced with error.
When I try to rebuild and run zsh on the server where zsh was installed I've got success:
1. Build ./configure --disable-dynamic --disable-gdbm && make
2. export FPATH="/home/user/.autojump/functions:/home/user/.oh-my-zsh/plugins/git:/home/user/.oh-my-zsh/functions:/home/user/.oh-my-zsh/completions:/usr/local/share/zsh/site-functions:/usr/share/zsh/vendor-functions:/usr/share/zsh/vendor-completions:/usr/share/zsh/functions/Calendar:/usr/share/zsh/functions/Chpwd:/usr/share/zsh/functions/Completion: ......"
3. Run ./Src/zsh
4. It works as expected with OMZ theme!
But when I copy ./Src/zsh with all FPATH directories to another server where ZSH has never been installed I've got the error:
$ export FPATH="..."
$ ./zsh
./zsh: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by ./zsh)
Coden
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>> From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
>>On Wed, 2019-10-09 at 20:07 +0000, Coden wrote:
>>> /root/.oh-my-zsh/oh-my-zsh.sh:69: compinit: function definition file not found
>>> /root/.oh-my-zsh/lib/theme-and-appearance.zsh:2: colors: function definition file not found
>>OK, so assuming the static linking is all set up (it's certainly doable
>>but not necessarily trivial as it's not all that common these days),
>>you're now faced with making shell functions available. These can live
>>anywhere --- nothing here needs to be set up as root --- but obviously
>>you need to put them somewhere, and then tell the shell where you've put
>>them. The directories are given by fpath (array) and FPATH
>>(collon-separated values for putting into the environment). You can
>>look at the existing values for an idea of where everything is on the
>>system you're starting from. Probably you'll be configuring the
>>directories in ~/.zshenv in the target system.
>>pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author