njsmith / pysrilm

An extremely simple Python wrapper for the SRI Language Modeling toolkit
BSD 2-Clause "Simplified" License
70 stars 20 forks source link

Installing on i686-m64 #2

Closed raosvikram closed 10 years ago

raosvikram commented 11 years ago

I had to add compiler and linker arguments in setup.py.

setup(
    cmdclass = {'build_ext': build_ext},
    ext_modules = [
      Extension("srilm",
                ["srilm.pyx"],
                language="c++",
                include_dirs=[SRILM_INCLUDE_DIR],
                libraries=["oolm", "dstruct", "misc"],
                extra_compile_args=['-fopenmp'],
                extra_link_args=["-L" + SRILM_LIB_DIR, '-lgomp', '-lz'],
                )
      ],
)

The install worked fine even otherwise, but on importing it complained that it couldn't find "gzvprintf" and something else about GOMP.

njsmith commented 10 years ago

should be fixed by the pull request I just merged. I think github never notified me of this bug report? sorry about that.