Opened 4 months ago
Closed 4 months ago
#70364 closed defect (duplicate)
texmaker not installing properly
Reported by: | dzuolo (Davide Zuolo) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | texmaker |
Description (last modified by jmroot (Joshua Root))
Hi! I am trying to install texmaker on MacOS 14.5 and I am getting the following error
:info:build pdfium/third_party/zlib_v128/gzwrite.c:pdfium/third_party/zlib_v128/gzread.c84:30:15: error: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] :info:build ret = read(state->fd, buf + *have, len - *have); :info:build ^ :info:build :15: error: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] :info:build got = write(state->fd, strm->next_in, strm->avail_in); :info:build ^ :info:build pdfium/third_party/zlib_v128/gzread.c:30pdfium/third_party/zlib_v128/gzwrite.c::1584:: 15note: :did you mean 'fread'? :info:build note: did you mean 'fwrite'? :info:build pdfium/third_party/zlib_v128/gzlib.c:256:24: error: call to undeclared function 'lseek'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] :info:build state->start = LSEEK(state->fd, 0, SEEK_CUR); :info:build ^ :info:build pdfium/third_party/zlib_v128/gzlib.c:14:17: note: expanded from macro 'LSEEK' :info:build # define LSEEK lseek :info:build ^ :info:build pdfium/third_party/zlib_v128/gzlib.c:256:24: note: did you mean 'fseek'? :info:build pdfium/third_party/zlib_v128/gzlib.c:14:17: note: expanded from macro 'LSEEK' :info:build # define LSEEK lseek :info:build ^ :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:150:9:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h :note: 'fread' declared here :info:build 157:9: note: 'fwrite' declared here :info:build size_t fread(void * __restrict __ptr, size_t __size, size_t __nitems, FILE * __restrict __stream); :info:build ^ :info:build size_t fwrite(const void * __restrict __ptr, size_t __size, size_t __nitems, FILE * __restrict __stream) __DARWIN_ALIAS(fwrite); :info:build ^ :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:154:6: note: 'fseek' declared here :info:build int fseek(FILE *, long, int); :info:build ^ :info:build pdfium/third_party/zlib_v128/gzwrite.c:101:33: error: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] :info:build if (have && ((got = write(state->fd, state->x.next, have)) < 0 || :info:build ^ :info:build pdfium/third_party/zlib_v128/gzlib.c:355:9: error: call to undeclared function 'lseek'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] :info:build if (LSEEK(state->fd, state->start, SEEK_SET) == -1) :info:build ^ :info:build pdfium/third_party/zlib_v128/gzlib.c:14:17: note: expanded from macro 'LSEEK' :info:build # define LSEEK lseek :info:build ^ :info:build pdfium/third_party/zlib_v128/gzlib.c:396:15: error: call to undeclared function 'lseek'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] :info:build ret = LSEEK(state->fd, offset - state->x.have, SEEK_CUR); :info:build ^ :info:build pdfium/third_party/zlib_v128/gzlib.c:14:17: note: expanded from macro 'LSEEK' :info:build # define LSEEK lseek :info:build ^ :info:build pdfium/third_party/zlib_v128/gzlib.c:492:14: error: call to undeclared function 'lseek'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] :info:build offset = LSEEK(state->fd, 0, SEEK_CUR); :info:build ^ :info:build pdfium/third_party/zlib_v128/gzlib.c:14:17: note: expanded from macro 'LSEEK' :info:build # define LSEEK lseek :info:build ^ :info:build pdfium/third_party/zlib_v128/gzread.c:590:11: error: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] :info:build ret = close(state->fd); :info:build ^ :info:build pdfium/third_party/zlib_v128/gzwrite.c:573:9: error: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] :info:build if (close(state->fd) == -1) :info:build ^
I saw an old ticket on this subject but I was wandering if something changed. Thanks a lot Davide Zuolo
Change History (1)
comment:1 Changed 4 months ago by jmroot (Joshua Root)
Description: | modified (diff) |
---|---|
Port: | texmaker added |
Resolution: | → duplicate |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
The older ticket is still open because it has not been resolved. So, closing this as a duplicate of #67599.