I am using Ubuntu 19.10. I have nix version 2.3.1. I installed emacs 26.3 using:
nix-env -iA nixpkgs.emacs
When I launch emacs I get these error messages:
(process:9100): Gtk-WARNING **: 09:41:39.668: Locale not supported by C library.
Using the fallback 'C' locale.
Gtk-Message: 09:41:39.756: Failed to load module "canberra-gtk-module"
Gtk-Message: 09:41:39.756: Failed to load module "canberra-gtk-module"
Fontconfig warning: "/etc/fonts/fonts.conf", line 5: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/fonts.conf", line 6: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/fonts.conf", line 9: unknown element "description"
Fontconfig error: Cannot load config file from /etc/fonts/fonts.conf
Is there some way to fix this?
The issue here is that Emacs in nixpkgs is built against a slightly older version of fontconfig (2.12.6) than is shipped with Ubuntu (2.13.1). However, the fontconfig 2.12.6 of Emacs tries to read the /etc/fonts/fonts.conf that was installed by fontconfig 2.13.1 of the host system. In the meantime some additional fields have been added to the configuration which the old version doesn't understand.
On my system I simply removed the offending lines from /etc/fonts/fonts.conf and have not experience any adverse effects yet.
Related
I installed swift toolchain using instructions from swift.org. While compiling helloworld code I am getting below error.
warning: 'helloworld': failed loading cached manifest for 'helloworld': disk I/O error
error: 'helloworld': Invalid manifest
<unknown>:0: error: unable to open output file '/usr2/xyz/.cache/clang/ModuleCache/IJ5GUC7XMAO5/SwiftShims-1TLN9ZL6HKTHR.pcm': 'No such file or directory'
<unknown>:0: error: could not build C module 'SwiftShims'
I tried removing '/usr2/xyz/.cache/clang/ModuleCache', but did not work. Please help in resolving this issue.
I recently bought a new Macbook pro with php 7.1 installed and everything was working fine since I tried to upgrade php to 7.2 using homebrew. When I try to show my version of php with php -v, and it works but it returns me the following warnings :
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php/extensions/no-debug-non-zts-20160303/gd2' -
dlopen(/usr/lib/php/extensions/no-debug-non-zts-20160303/gd2, 0x0009):
closured error in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php/extensions/no-debug-non-zts-20160303/mbstring' -
dlopen(/usr/lib/php/extensions/no-debug-non-zts-20160303/mbstring,
0x0009): closured error in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php/extensions/no-debug-non-zts-20160303/mysqli' -
dlopen(/usr/lib/php/extensions/no-debug-non-zts-20160303/mysqli,
0x0009): closured error in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php/extensions/no-debug-non-zts-20160303/pdo_mysql' -
dlopen(/usr/lib/php/extensions/no-debug-non-zts-20160303/pdo_mysql,
0x0009): closured error in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php/extensions/no-debug-non-zts-20160303/sockets' -
dlopen(/usr/lib/php/extensions/no-debug-non-zts-20160303/sockets,
0x0009): closured error in Unknown on line 0
It seems to be an error with gd2, mbstring, mysqli, pdo_mysql and sockets files but they do not exist on the no-debug-non-zts-20160303/ folder...
Is there a way using homebrew to reinstall all these missing files ?
Thanks
I installed the latest version of the EZ USB FX3 suite. I am using Windows 7 64 bit. After importing the project as described in the user maunual and building the examples on Eclipse I get the following error
C:/Program Files (x86)/Cypress/EZ-USB FX3 SDK/1.3/ARM GCC/bin/cs-make --no-
print-directory post-build
/usr/bin/sh: -c: line 0: syntax error near unexpected token `('
/usr/bin/sh: -c: line 0: `C:/Program Files (x86)/Cypress/EZ-USB FX3
SDK/1.3/ARM GCC/bin/cs-make --no-print-directory post-build'
cs-make: *** [USBBulkSourceSink.elf] Error 1
How do I resolve this?
Funny enough we resolved this issue by just changing the main install directory.
This happens in my mac osx. This is regarding zend framework 3.
When I update the composer some warnings are occur.
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/Cellar/php70/7.0.15_8/lib/php/extensions/no-debug-non-zts-20151012/mcrypt.so' - dlopen(/usr/local/Cellar/php70/7.0.15_8/lib/php/extensions/no-debug-non-zts-20151012/mcrypt.so, 9): image not found in Unknown on line 0
after that when the page is refreshing this error occur.
Fatal error: Uncaught Error: Class 'MongoDB\Driver\Manager' not found in /Users/ishara/Documents/workspace/leapx-portal/vendor/mongodb/mongodb/src/Client.php on line 81
Error: Class 'MongoDB\Driver\Manager' not found in /Users/ishara/Documents/workspace/leapx-portal/vendor/mongodb/mongodb/src/Client.php on line 81
This has nothing to do with zendframework 3.
PHP Warning: PHP Startup: Unable to load dynamic library mcrypt.so
This is probably caused by not having the PHP mcrypt extension installed.
Fatal error: Uncaught Error: Class 'MongoDB\Driver\Manager' not found
According to the mongodb/mongodb package, you need to install the PHP mongodb extension.
I'm trying to install the pdo drivers on OSX 10.6 and I've been following the directions found here:
Installing PDO-drivers for PostgreSQL on Mac (using Zend for eclipse)
Every time I try and compile the pdo_psql.so driver it compiles fine but the 'make test' finds a problem.
PHP Warning: PHP Startup: Unable to load dynamic library '/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so' - dlopen(/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so, 9): no suitable image found. Did find:
/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so: mach-o, but wrong architecture in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so' - dlopen(/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so, 9): no suitable image found. Did find:
/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so: mach-o, but wrong architecture in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so' - dlopen(/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so, 9): no suitable image found. Did find:
/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so: mach-o, but wrong architecture in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so' - dlopen(/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so, 9): no suitable image found. Did find:
/Users/me/temp/PDO_PGSQL-1.0.2/modules/pdo_pgsql.so: mach-o, but wrong architecture in Unknown on line 0
=====================================================================
PHP : /usr/bin/php
PHP_SAPI : cli
PHP_VERSION : 5.3.4
ZEND_VERSION: 2.3.0
PHP_OS : Darwin - Darwin localhost 10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29 15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386 i386
INI actual : /Users/me/temp/PDO_PGSQL-1.0.2/tmp-php.ini
More .INIs :
CWD : /Users/me/temp/PDO_PGSQL-1.0.2
Extra dirs :
VALGRIND : Not used
=====================================================================
TIME START 2011-04-12 00:35:43
=====================================================================
I'm running a 32 bit kernel and my env vars are set as such. After google-ing for hours I'm stuck. Thanks for any help you can provide.
It turns out with my new laptop I grabbed the wrong disk set for Xcode. When I installed the correct (newest) version, everything worked.