Building client only, fails because of missing libnotify

Message boards : Questions and problems : Building client only, fails because of missing libnotify
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Keith Myers
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 17 Nov 16
Posts: 863
United States
Message 94429 - Posted: 20 Dec 2019, 22:02:58 UTC - in response to Message 94428.  

I have had no issues building the client or the manager in Ubuntu Linux. Did you look at the output of ./_autosetup for any complaints about modules missing?
This is the matrix I used to install what is needed to compile the various products.
https://boinc.berkeley.edu/trac/wiki/SoftwarePrereqsUnix
Just a hunch, have you also installed the boinc-dev library?

keith@Serenity:~$ apt show boinc-dev
Package: boinc-dev
Version: 7.9.3+dfsg-5ubuntu2
Priority: optional
Section: universe/devel
Source: boinc
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian BOINC Maintainers <pkg-boinc-devel@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 91.1 kB
Depends: libboinc-app-dev (= 7.9.3+dfsg-5ubuntu2)
Homepage: https://boinc.berkeley.edu/
Download-Size: 14.8 kB
APT-Sources: http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
Description: development files to build applications for BOINC projects (transitional)
 Dummy transitional package helping the transition of a split of
 architecture-independent development files and the architecture-dependent
 dynamic libraries.  Static libraries are no longer redistributed.
ID: 94429 · Report as offensive
Profile Keith Myers
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 17 Nov 16
Posts: 863
United States
Message 94432 - Posted: 20 Dec 2019, 23:36:39 UTC - in response to Message 94430.  

Can't help. Have always built with an established developer platform provided by Ubuntu. Mostly just build the client standalone since I do a lot of modifications for spoofing gpus.
ID: 94432 · Report as offensive
Profile Joseph Stateson
Volunteer tester
Avatar

Send message
Joined: 27 Jun 08
Posts: 641
United States
Message 94650 - Posted: 2 Jan 2020, 2:09:25 UTC - in response to Message 94430.  
Last modified: 2 Jan 2020, 2:34:42 UTC

Thanks for your answer. I'm building in a , with no packages available.

I'm more concerned by the fact that libnotify is required while I'm trying to not build the manager :)

As mentioned by keith, _autosetup is the key an if errors show up then a problem

There is no configure file. Those 2 lines of code are in configure.ac
running _autosetup uses configure.ac and possibly other files to create "configure"
configure.ac is supposed to have that test for the manager as that is how it is determined if the manager gets created or not.
If you see an error message like "cant find wxwidgets" then you accidently included the manager.

walk-through below
https://boinc.berkeley.edu/forum_thread.php?id=13059&postid=92381#92381

I have no idea what "simili linux-from-scratch" is. Do you have bash or dash or something else. what version?
I myself got caught by a script that behaved differently than what I expected as it used sh instead of bash. Does your configure file have "#! /bin/sh" at the top or something else?

If you have
./configure --disable-server --disable-manager
that test of line 36044 will take the no path and continue on
else it will take the yes path and continue on

IN NO EVENT WILL IT GENERATE A SYNTAX ERROR UNLESS THE OS CANNOT PARSE IT.

suggestion: write a small batch file and run it with those lines of code something like
if test (whatever) = yes; then
echo "found a yes"
fi
If you get a syntax error then problem with whatever is running the script.

also good is "bash -x ./configure" assuming you have bash. else source, else I don't know.

HTH

[EDIT] My opinion is only worth 2c. It used to be worth a lot less but I got promoted to "Help Desk Expert" so maybe the 2c is good.

The above assume you got the source from GitHub after having selected the branch "client 7.16.3" else all bets are off
ID: 94650 · Report as offensive

Message boards : Questions and problems : Building client only, fails because of missing libnotify

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.