Hi All, We are migrating the source code of an internal app and doxygen-1.8.6 from a windows server to CentOS 6.6. On the windows server everything works as expected.
I migrated the source files, altered the doxygen configs accordingly and installed the linux static build of doxygen-1.8.6 from: ftp://ftp.stack.nl/pub/users/dimitri/doxygen-1.8.6.linux.bin.tar.gz However, when I run doxygen on the CentOS server it does not recognize the encodings in the INPUT_ENCODING parameter: $ export GCONV_PATH=/usr/lib/gconv $ /opt/doxygen-1.8.6/bin/doxygen conf/Doxyfile ... (output clipped) Reading and parsing tag files Parsing files Preprocessing /home/doxy/conf/Mainpage.dox... error: unsupported character conversion: 'CP1250'->'UTF-8': Invalid argument Check the INPUT_ENCODING setting in the config file! Exiting... No matter what encoding is being set in INPUT_ENCODING it produces the same error. Except if set it to UTF-8! I checked if doxygen can read the glibc iconv settings (glibc-2.12 is installed), and everything seems ok: it finds and reads the gconv settings, loads to CP1250.so when trying to convert the first file but then suddenly bails out: $ export GCONV_PATH=/usr/lib/gconv $ strace /opt/doxygen-1.8.6/bin/doxygen conf/Doxyfile ... getcwd("/home/doxy/src", 4096) = 46 open("/usr/lib/gconv/gconv-modules", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=56103, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f81dabaf000 read(3, "# GNU libc iconv configuration.\n"..., 4096) = 4096 read(3, "B1.002//\nalias\tJS//\t\t\tJUS_I.B1.0"..., 4096) = 4096 read(3, "59-3\t1\nmodule\tINTERNAL\t\tISO-8859"..., 4096) = 4096 read(3, "859-14//\nalias\tISO-IR-199//\t\tISO"..., 4096) = 4096 read(3, "CDIC-DK-NO-A//\tEBCDIC-DK-NO-A\t1\n"..., 4096) = 4096 read(3, "\t\tIBM281//\t\tIBM281\t\t1\n\n#\tfrom\t\t\t"..., 4096) = 4096 read(3, "\tIBM863\t\t1\n\n#\tfrom\t\t\tto\t\t\tmodule"..., 4096) = 4096 read(3, "//\t\tIBM937//\nalias\tCSIBM937//\t\tI"..., 4096) = 4096 read(3, "JAPANESE//\tEUC-JP//\nalias\tOSF000"..., 4096) = 4096 read(3, "MACINTOSH//\t\tMACINTOSH\t1\n\n#\tfrom"..., 4096) = 4096 read(3, "367-BOX//\nalias\tISO_10367BOX//\t\t"..., 4096) = 4096 brk(0x2bbd000) = 0x2bbd000 read(3, "EUC-JISX0213//\t\tINTERNAL\t\tEUC-JI"..., 4096) = 4096 read(3, "/\t\tIBM1130//\nalias\tCSIBM1130//\t\t"..., 4096) = 4096 read(3, "\t1\n\n#\tfrom\t\t\tto\t\t\tmodule\t\tcost\na"..., 4096) = 2855 read(3, "", 4096) = 0 close(3) = 0 munmap(0x7f81dabaf000, 4096) = 0 open("/usr/lib/x86_64-linux-gnu/gconv/gconv-modules", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) ... lstat("/home/doxy/conf/Mainpage.dox", {st_mode=S_IFREG|0640, st_size=56981, ...}) = 0 access("/home/doxy/conf/Mainpage.dox", F_OK) = 0 open("/home/doxy/conf/Mainpage.dox", O_RDONLY) = 5 fstat(5, {st_mode=S_IFREG|0640, st_size=56981, ...}) = 0 lstat("/home/doxy/conf/Mainpage.dox", {st_mode=S_IFREG|0640, st_size=56981, ...}) = 0 fstat(5, {st_mode=S_IFREG|0640, st_size=56981, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f81daa66000 read(5, "/*! \\mainpage\n\n \\subpage toc_db"..., 53248) = 53248 read(5, " pg_CMS_XPROD_ECM_DATA_PACKAGE_S"..., 4096) = 3733 close(5) = 0 munmap(0x7f81daa66000, 4096) = 0 open("/usr/lib/gconv/CP1250.so", O_RDONLY|O_CLOEXEC) = 5 read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\3\0\0004\0\0\0"..., 832) = 832 close(5) = 0 ... write(2, "error: unsupported character con"..., 130error: unsupported character conversion: 'CP1250'->'UTF-8': Invalid argument Check the INPUT_ENCODING setting in the config file! ) = 130 ... It looks like the list of available encodings is not being read correctly from gconv? Kind regards, Tomaz ========================================================================================== To elektronsko sporočilo in vse morebitne priloge so poslovna skrivnost in namenjene izključno naslovniku. Če ste sporočilo prejeli pomotoma, Vas prosimo, da obvestite pošiljatelja, sporočilo pa takoj uničite. Kakršnokoli razkritje, distribucija ali kopiranje vsebine sporočila je izrecno prepovedano. Ni nujno, da to sporočilo odraža uradno stališče družbe. Elektronsko sporočilo je pregledano z antivirusnim programom. This e-mail and any attachments may contain confidential and/or privileged information and is intended solely for the addressee. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. This e-mail may not necessarily reflect the official viewpoint of the company. E-mail message is scanned by Anti-Virus Software. ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet _______________________________________________ Doxygen-users mailing list Doxygen-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/doxygen-users