Re: [orca-list] Installing Orca from Source in Fedora



Hello,

I thought I'd provide a list of commands I type to get Orca installed from source. This is what worked for me in the past, but is definitely not working now... I get the error that there is no Orca module in line 46. Am trying this in both Debian and Fedora 36. I've tried removing Orca (sudo dnf remove orca or sudo apt remove orca --purge) depending on the platform, followed by a reboot. I then do the following with either apt or dnf:
# install dependencies for Orca
sudo dnf builddep orca or sudo apt build-dep orca
sudo dnf install yelp-tools
# Clone Orca Repo (Git is already installed)
git clone https://gitlab.gnome.org/GNOME/orca
# Change into Orca directory
cd orca
# Configure Orca (I've tried into /usr, /usr/bin which is where Orca is installed on my  Debian, and have tried without giving a location with the same results
./autogen.sh --prefix=/usr
make
sudo make install

I then try to run Orca. But Orca does not run. Instead, I get the error re no Orca module found in Line 46.

Some questions:
* Is there another place where residual Orca sym links and files perhaps don't get removed by the package manager removal of the existing Orca? Could that be causing issues somehow?

I have a machine running an older version of Fedora Mate that is not encountering these issues. But I have two machines, one with Fedora 36 Gnome and another with a modified version of Debian Gnome where this issue is cropping up.
Any other ideas for me to try?

Thanks.

On Tue, Jun 28, 2022 at 3:41 PM José Vilmar Estácio de Souza <vilmar informal com br> wrote:
Hi.
Perform the following steps:
1. Create a new folder.
2. cd to the new folder.
3. untar the attached file inside the new folder.
4. install the dependencies to build orca.
5. install yelp-tools.
6. install rpm-build
7. execute the shell ./orca-build.sh

If everything goes as expected and I didn't make any mistakes, you should find the generated rpm in the following folder:
~/rpmbuild/RPMS/noarch

Install it using the following command:
sudo dnf install ~/rpmbuild/RPMS/noarch/orca-43.alpha-1.fc36.noarch.rpm

Basically the shell executed in step 7 performs the following functions.
1. clone orca.
2. Create a tar file with the content of orca.
3. move the tar file to the SOURCE directory.
4. Execute rpmbuild.

I hope I haven't forgotten anything, but feel free to contact me in case of any problems.

On 6/28/22 19:08, Nimer J
aber wrote:
Hello,

Sure, if you can provide those instructions for the RPM package, that would be great.

On Tue, Jun 28, 2022 at 1:20 AM José Vilmar Estácio de Souza <vilmar informal com br> wrote:
Hi.
I was able to install orca from the master branch by creating an rpm package.
I don't know the process of creating an rpm package, which is to say that maybe not everything is ok.
I used as a model the spec file used to create the original rpm with small adjustments. I haven't encountered any problems, at least so far.

If anyone is brave enough to try, I can send the script and .spec I used along with instructions.
Thanks.

On 6/28/22 00:05, Nimer Jaber via orca-list wrote:
Hello,

I don't know if there is something going on in Fedora, or with Orca from master. However, I'm struggling to get Orca installed from source, and I've seen a message about this a few days ago as well, but it didn't seem to get a response.

First, I managed to get Fedora 36 installed, thanks to a helpful list member, by first booting from USB, creating a password for the liveuser account, logging out, and signing in with the Gnome on Xorg option. The installer started speaking after doing this, as otherwise, under wayland, it was inaccessible.

My next step was to install Orca from source. I installed the yelp-tools package, installed git, and removed the existing Orca package. I then used DNF to get the dependencies for Orca, cloned into the git repo, and went through the orca install as I've been used to. ./autogen.sh > make > sudo make install. Orca installed without error. However, when attempting to start orca, I get an error about line 46, no Orca module found. So I install Orca from the package manager, and that seems to work, but Orca is then stuck at 42.1, rather than being the master version. Additionally, I tried installing Orca in a different location from the default location, and attempted running it from that location, but ran into the same line 46 no Orca module error.

* Does anyone have any ideas as to what might be going on here?
* Has anyone found any solutions to the error that I, and seemingly another list member seems to be having? Could there be an issue with Orca from source?

I should say that recently, I've been experiencing a similar issue with Orca not showing the correct version number in Debian, when also attempting an install from source.

Thanks.

--
Best,

Nimer Jaber

Check out and subscribe to BlindTechAdventures in podcast audio form on YouTube for the latest happenings in tech.

You can follow @nimerjaber on Twitter for the latest technology news.

Thank you, and have a great day!

_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide: https://help.gnome.org/users/gnome-help/stable/a11y.html




--
Best,

Nimer Jaber

Check out and subscribe to BlindTechAdventures in podcast audio form on YouTube for the latest happenings in tech.

You can follow @nimerjaber on Twitter for the latest technology news.

Thank you, and have a great day!

   

_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide: https://help.gnome.org/users/gnome-help/stable/a11y.html


--

Nimer Jaber
Accessibility Analyst
(650) 699-2432


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