Menu

#173 compilations of wxcurl-1.0 fails on fedora 23/24

open
nobody
None
5
2016-06-05
2016-06-05
MartinKG
No

Hi,

i want to compile wxcurl-1.0 from https://sourceforge.net/projects/wxcurl/ on F23/F24

i took this patch to compile it with wxGTK-2.8.12
--- src/dialog.cpp.orig 2010-03-11 00:54:30.000000000 +0100
+++ src/dialog.cpp 2012-12-06 21:50:58.932555258 +0100
@@ -170,7 +170,7 @@
downloading->Add(st, 0, wxRIGHT|wxTOP|wxALIGN_CENTER_VERTICAL, BORDER);

     m_pURL = new wxStaticText( this, wxID_STATIC, url, wxDefaultPosition,
  • wxSize(MINWIDTH, -1), wxST_ELLIPSIZE_MIDDLE);
  • wxSize(MINWIDTH, -1));
    downloading->Add(m_pURL, 1, wxALIGN_CENTER_VERTICAL|wxTOP, BORDER);

     main->Add(downloading, 0, wxGROW|wxLEFT|wxRIGHT, OUTER_BORDER);
    

and i delete lines 181 & 182 in makefile.in due the followng error message:

error message:
Makefile:181: *** missing separator. Stop.

now when i compile it, i get the following error message:

cd src/
patch -p1 < ../dialog.cpp.diff
cd ..
make clean
make CFLAGS="-fPIC" CXXFLAGS="-fPIC"

error message:

g++ -o samples/protocols/protocols protocols_wxCURLApp.o protocols_wxCURLDlg.o protocols_wxDeleteDialog.o protocols_wxFTPDeleteDialog.o protocols_wxFTPMkdirDialog.o protocols_wxFTPRenameDialog.o protocols_wxFTPRmdirDialog.o protocols_wxGetDialog.o protocols_wxGetFSDialog.o protocols_wxGetFSFTPDialog.o protocols_wxGetFTPDialog.o protocols_wxGetFTPFileDialog.o protocols_wxGetFileDialog.o protocols_wxHeadDialog.o protocols_wxInfoFTPDialog.o protocols_wxListFTPDialog.o protocols_wxMkcolDialog.o protocols_wxNlstFTPDialog.o protocols_wxOptionsDialog.o protocols_wxPostDialog.o protocols_wxPropfindDialog.o protocols_wxPutDialog.o protocols_wxPutFTPDialog.o protocols_wxPutFTPTextDialog.o protocols_wxPutTextDialog.o protocols_wxTraceDialog.o -L./lib -L./lib curl-config --libs -lcurl -lwxcode_gtk2u_wxcurl-2.8 -lcurl -lws2_32 -lwldap32 -pthread -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_baseu_xml-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu-2.8
/usr/bin/ld: cannot find -lwxcode_gtk2u_wxcurl-2.8
/usr/bin/ld: cannot find -lws2_32
/usr/bin/ld: cannot find -lwldap32
collect2: error: ld returned 1 exit status
Makefile:333: recipe for target 'samples/protocols/protocols' failed
make: *** [samples/protocols/protocols] Error 1

any idea or help ?

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.