Hi Abraham,

I'm sorry it's not working for you!  Plenty of users have had some success
with NixOS, but my personal experience with it is a little light.

It's a little confusing seeing some of the messages about 32-bit in the log
you posted.  If Factor is build in a 64-bit environment, it should not
require mixed libraries anywhere.

These are the dependencies that I have written down for a typical apt
install:

apt install libc6-dev libpango1.0-dev libx11-dev xorg-dev libgtk2.0-dev
gtk2-engines-pixbuf libgtkglext1-dev

I'm not sure about atk packaging on NixOS, but Factor does look for
libatk-1.0.so in the atk vocabulary.

Hope that helps!

Feel free to open an issue on our GitHub if you want to troubleshoot this
more!  Maybe we can do something to make NixOS smoother.

Best,
John.





On Sun, Oct 25, 2020 at 1:46 PM Abraham Palmer <abra...@boxturtlebakery.com>
wrote:

> Just learned about Factor yesterday and I am excited to dive into it. I
> installed it via the NixOS package on Ubuntu 18.04 64bit system and I think
> am stumbling upon problems related to my Gtk installation. I know enough
> linux to do the trial, google, and error approach so I'm hoping someone can
> shorten the process for me. I know just a little bit about Nix packages
> too and have used them very successfully from other projects and would
> really like to fix the package if possible.
>
> The terminal mode works fine, but the GUI returns:
>
> (process:16200): Gtk-WARNING **: 09:26:56.090: Locale not supported by C
> library.
> Using the fallback 'C' locale.
> Gtk-Message: 09:26:56.093: Failed to load module "atk-bridge"
> Unable to initialize GTK
> (U) Quotation: [ c-to-factor => ]
>     Word: c-to-factor
> (U) Quotation: [ [ (get-catchstack) push ] dip call => (get-catchstack)
> pop* ]
> (O) Word: command-line-startup
> (O) Word: with-ui
> (O) Method: M\ gtk-ui-backend (with-ui)
> (O) Method: M\ object throw
> (U) Quotation: [
>         OBJ-CURRENT-THREAD special-object error-thread set-global
>         current-continuation => error-continuation set-global
>         [ original-error set-global ] [ rethrow ] bi
>
> I've got some 32-bit dependency issues:
> sudo apt-get install libatk-bridge2.0-0
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> libatk-bridge2.0-0 is already the newest version (2.26.2-1).
> You might want to run 'apt --fix-broken install' to correct these.
> The following packages have unmet dependencies:
>  libgtk-3-0-dbg:i386 : Depends: libgtk-3-0:i386 (= 3.18.9-1ubuntu3) but it
> is not going to be installed
> E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or
> specify a solution).
>
> I tried the fix:
> sudo apt --fix-broken install
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Correcting dependencies... Done
> The following packages were automatically installed and are no longer
> required:
>   linux-hwe-5.4-headers-5.4.0-42 linux-hwe-5.4-headers-5.4.0-45
> Use 'sudo apt autoremove' to remove them.
> The following packages will be REMOVED:
>   libgtk-3-0-dbg:i386
> 0 upgraded, 0 newly installed, 1 to remove and 92 not upgraded.
> 1 not fully installed or removed.
> After this operation, 18.5 MB disk space will be freed.
> Do you want to continue? [Y/n] Y
> (Reading database ... 250219 files and directories currently installed.)
> Removing libgtk-3-0-dbg:i386 (3.18.9-1ubuntu3) ...
> --
> http://boxturtlebakery.com
> (919)357-6034
> abra...@boxturtlebakery.com
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to