not configure from fallezilla

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
sania7
Earned a small fee
Earned a small fee
Posts: 10
Joined: Fri Jun 16, 2017 2:03 pm

not configure from fallezilla

Post by sania7 »

Good day, dear tovarytstvo!
Faced with this problem, study compiled.
OS-Linux Mint.
Pick from raw FilleZilla. (TakYi it is, of course, in the form of deb-package, I'm just learning to compile)
It requires third-party libraries are available in repozitoriyah, I downloaded, and the two have collected well as raw.
One successfully collected, and the second-problem.
Please carefully pochitaty:
1. That instruction of assembly FilleZilla:
  • mkdir compile
    cd compile
    ../configure
    make
    make install
In step configuration gives error:

Code: Select all

wxUniversal is not acceptable as flavour of wxWidgets. Please recompile wxWidgets with --disable-universal
But the team

Code: Select all

./configure -h
this box is not checked for configuration! How to build this of Libraries?
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7449
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: not configure from fallezilla

Post by ONEEYEMAN »

Hi,
There is a Russian portion of the forum at the bottom. ;-)

Anyway, you need to recompile wxWidgets library with using GTK+{2|3} libraries. According to the error, it was compiled as with X11 backend.

Please pick up proper binaries from the repo. Or even better - install FileZilla from the repository.

Thank you.
sania7
Earned a small fee
Earned a small fee
Posts: 10
Joined: Fri Jun 16, 2017 2:03 pm

Re: not configure from fallezilla

Post by sania7 »

Hi.
Anyway, you need to recompile wxWidgets library with using GTK+{2|3} libraries. According to the error, it was compiled as with X11 backend.
Which ones? Can you give me a link?
Or even better - install FileZilla from the repository.
No. no. I'm learning to compile.
There is a Russian portion of the forum at the bottom. ;-)
Im no russian. Im from Ukraine. It's not pleasant for me to talk to them. Between our countries is war.
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7449
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: not configure from fallezilla

Post by ONEEYEMAN »

I know about the war - so what? There are people from Russia and Ukraine talk to each other on that forum. Besides it will be easier for you to express the problem and for people to help you. You will learn faster.

Anyway, I presume you already installed wxWidgets. How did you do it? Did you compile it yourself or you install it from the repository?

Also, how familiar are you with Linux? Just starting or you already have some experience working with that OS?

Thank you.

P.S.: Let's leave the politics behind. This is off-topic here. That was just a suggestion.

P.P.S.: It would also be helpful to know which dependency failed to compile and what was the error?
sania7
Earned a small fee
Earned a small fee
Posts: 10
Joined: Fri Jun 16, 2017 2:03 pm

Re: not configure from fallezilla

Post by sania7 »

- so what?
That I have the right to speak with anyone I want.
Anyway, I presume you already installed widgets. How did you do it? Did you compile it yourself or you install it from the repository?
im installing source Fillezilla. She As a dependency WxWidgets.
But it requires a static library.

Code: Select all

checking for libfilezilla >= 0.9.2... yes
checking for wx-config... /usr/local/bin/wx-config
checking for wxWidgets version >= 3.0.3 (--unicode=yes --universal=no)... yes (version 3.0.3)
checking for wxWidgets static library... no
configure: error: wxUniversal is not acceptable as flavour of wxWidgets. Please recompile wxWidgets with --disable-universal
sania7
Earned a small fee
Earned a small fee
Posts: 10
Joined: Fri Jun 16, 2017 2:03 pm

Re: not configure from fallezilla

Post by sania7 »

Also, how familiar are you with Linux? Just starting or you already have some experience working with that OS?
6 мonths
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7449
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: not configure from fallezilla

Post by ONEEYEMAN »

OK, I presume you compiled wxWidgets yourself, right?
So, do this:

Code: Select all

1. cd wxWidgets-3.0.3
2. mkdir buildGTK
3. cd buildGTK
4. ../configure --with-gtk=2 --disable-shared
5. make && sudo make install
Adjust directory name accordingly.
After that re-run configure from FileZilla.

If you install wxWidgets from the repository - you need to talk to Mint guys on how to adjust the properties of the build. I don't use Mint - sorry.

Let us know if there is another issue.

Thank you.
DavidHart
Site Admin
Site Admin
Posts: 4252
Joined: Thu Jan 12, 2006 6:23 pm
Location: IoW, UK

Re: not configure from fallezilla

Post by DavidHart »

Hi,
../configure --with-gtk=2 --disable-shared
--disable-shared makes static-linking libraries. Is that necessary for FileZilla? If not, I strongly suggest you don't use it; the Linux standard is dynamic-linking.
you need to talk to Mint guys on how to adjust the properties of the build
Mint is one of many distros that are adapted from ubuntu, which in turn is derived from debian. It does nothing special about its wx libraries, just makes the standard base and gtk ones.
So, sania7, if you want to install the Mint wx instead of building your own, just do:
sudo apt-get install libwxgtk2.0-dev
and the correct wx libs and dependencies will be installed.
P.S.: Let's leave the politics behind. This is off-topic here.
Indeed!

Regards,

David
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7449
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: not configure from fallezilla

Post by ONEEYEMAN »

DavidHart wrote: Hi,
../configure --with-gtk=2 --disable-shared
--disable-shared makes static-linking libraries. Is that necessary for FileZilla? If not, I strongly suggest you don't use it; the Linux standard is dynamic-linking.
Agreed. I was confused by the log he posted and suggested that option.
DavidHart wrote:
you need to talk to Mint guys on how to adjust the properties of the build
Mint is one of many distros that are adapted from ubuntu, which in turn is derived from debian. It does nothing special about its wx libraries, just makes the standard base and gtk ones.
I have no idea. I am using Gentoo and compiling my own 3.1 and HEAD.
DavidHart wrote: So, sania7, if you want to install the Mint wx instead of building your own, just do:
sudo apt-get install libwxgtk2.0-dev
and the correct wx libs and dependencies will be installed.
He wants to learn how to compile the software on *nix. Besides it looks like he already did do it manually as it was installed in /usr/local.
DavidHart wrote:
P.S.: Let's leave the politics behind. This is off-topic here.
Indeed!
I suggested to go to Russian forum simply because it will be easier for him to express the issue(s) he have. He refused.
I guess he also wants to learn English as well. ;-)
DavidHart wrote: Regards,

David
sania7
Earned a small fee
Earned a small fee
Posts: 10
Joined: Fri Jun 16, 2017 2:03 pm

Re: not configure from fallezilla

Post by sania7 »

DavidHart wrote:
you need to talk to Mint guys on how to adjust the properties of the build
Mint is one of many distros that are adapted from ubuntu, which in turn is derived from debian. It does nothing special about its wx libraries, just makes the standard base and gtk ones.
sudo apt-get install libwxgtk2.0-dev
and the correct wx libs and dependencies will be installed.
Thanks, I'll now try to download the 2-devs, because wxWidgets I stopped going through make even from binary.
The matter is that, I connected your repositories, and downloaded ALL deb-packages of versions 3-0, and 3-1. But it requires 3-0-3. I do not know if 2-0 will help
I suggested to go to Russian forum simply because it will be easier for him to express the issue(s) he have. He refused.
I guess he also wants to learn English as well. ;-)
In this there is a small part of the truth.
DavidHart
Site Admin
Site Admin
Posts: 4252
Joined: Thu Jan 12, 2006 6:23 pm
Location: IoW, UK

Re: not configure from fallezilla

Post by DavidHart »

But it requires 3-0-3
Are you sure? wx3.0.3 was released only 6 weeks ago, and has no major changes from the wx3.0.2 which you (probably) have in Mint.
sania7
Earned a small fee
Earned a small fee
Posts: 10
Joined: Fri Jun 16, 2017 2:03 pm

Re: not configure from fallezilla

Post by sania7 »

Yes, I know about 3-0-3, but so writes the terminal, several posts above
sania7
Earned a small fee
Earned a small fee
Posts: 10
Joined: Fri Jun 16, 2017 2:03 pm

Re: not configure from fallezilla

Post by sania7 »

wx3.0.2 which you (probably) have in Mint.
Its 3-03 and 3-02 in repos Mint no sush, most new its 3-0-0 :( Other libs need make sorces.
sania7
Earned a small fee
Earned a small fee
Posts: 10
Joined: Fri Jun 16, 2017 2:03 pm

Re: not configure from fallezilla

Post by sania7 »

ONEEYEMAN wrote:OK, I presume you compiled wxWidgets yourself, right?
So, do this:

Code: Select all

1. cd wxWidgets-3.0.3
2. mkdir buildGTK
3. cd buildGTK
4. ../configure --with-gtk=2 --disable-shared
5. make && sudo make install
I'm trying to do according to your option, because I find it reasonable, but for some reason it does not work. I do the cleaning, I" enter "make distclean ", but it does not help

Code: Select all

=== configuring in src/tiff (/tmp/wxWidgets-3.0.3/buildGTK/src/tiff)
configure: running /bin/bash ../../../src/tiff/configure --disable-option-checking '--prefix=/usr/local'  '--with-gtk=2' '--disable-shared' --cache-file=/dev/null --srcdir=../../../src/tiff
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: error: source directory already configured; run "make distclean" there first
configure: error: ../../../src/tiff/configure failed for src/tiff
DavidHart
Site Admin
Site Admin
Posts: 4252
Joined: Thu Jan 12, 2006 6:23 pm
Location: IoW, UK

Re: not configure from fallezilla

Post by DavidHart »

If a dirty tiff configure is really the problem, the solution is simple: delete buildGTK/, then recreate it and start again.

However there are 2 alternatives.
  • 1) try without --disable-shared; as I said earlier, this shouldn't be needed and can cause bugs.
    2) building tiff only happens if the tiff dev package is not installed. To install it and the other similar ones, do:
    sudo apt-get install libtiff5-dev libpng-dev libjpeg-dev
Post Reply