Re: makepkg

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




-- 
Jude <jdashiel at panix dot com>
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo.
Please use in that order."
Ed Howdershelt 1940.

On Fri, 24 Nov 2023, Lone_Wolf wrote:

>
> On 23-11-2023 17:44, Jude DaShiell wrote:
> > cc main.o buffers.o sendmail.o fetchmail.o html.o html-tags.o format.o
> > stringfile.o ebrc.o msg-strings.o http.o isup.o css.o startwindow.o
> > dbops.o dbodbc.o jseng-quick.o ../../quickjs/libquickjs.a -ldl -latomic
> > -s -lcurl -lodbc -lpcre2-8 -lreadline -lssl -lcrypto   -lpthread -lm
> > -lssl -lcrypto  -o edbrowse
> > /usr/bin/ld: cannot find ../../quickjs/libquickjs.a: No such file or
> > directory
>
>
> Two more changes are needed:
>
>
> A.
>
> edbrowse relies on *.a files (static librairies)  to use quickjs . makepkg by
> default removes them since a few years ago.
>
> edit the quickjs PKGBUILD, increase pkgrel and change the options= line in it
> so it reads   options=(!strip staticlibs)
>
> rebuild & reinstall quickjs
>
>
> B.
>
> the environment vars used by edbrowse make have been changed by upstream.
>
> replace QUICKJS_DIR="/usr/lib/quickjs/" make    with
>
> QUICKJS_INCLUDE="/usr/include/quickjs" QUICKJS_LIB="/usr/lib/quickjs/" make
>
>
> The package builds for me that way, but I haven't ran the software.
>
> Lone_Wolf
>
Almost but no cigar:

==> Making package: edbrowse-git 3.8.7.r55.g3b8a1f45-1 (Fri 24 Nov 2023 05:41:20 PM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating edbrowse-git git repo...
==> Validating source files with md5sums...
    edbrowse-git ... Skipped
==> Extracting sources...
  -> Creating working copy of edbrowse-git git repo...
Reset branch 'makepkg'
==> Starting prepare()...
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
==> Entering fakeroot environment...
==> Starting package()...
mkdir -p -m 755 /home/jude/builds/edbrowse-git/pkg/edbrowse-git/usr/bin
install -m755 edbrowse /home/jude/builds/edbrowse-git/pkg/edbrowse-git/usr/bin
install: cannot stat 'edbrowse': No such file or directory
make: *** [makefile:82: install] Error 1
==> ERROR: A failure occurred in package().
    Aborting...


>
>




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux