Edit 1: I think I just understood you question: you are actually trying to calculate some sort if “internal” inductance, i.e. the contribution to the inductance of only the field inside the conductor.
BelowEdit 2: As requested, a few clarifications.
By “integrate the magnetic flux” I really mean “calculate the magnetic flux”. I used “integrate” because the calculation involves an integral: $$ \phi = \int_A \mathbf{B}\cdot\mathbf{n}\; \mathrm{d} A $$ where $\mathbf{n}$ is my original answerthe unit normal to the surface. ItIt's not exactly the same as “integrate the magnetic field” because of the dot product with $\mathbf{n}$.
I talked about “forward path” and “return path” because, if it's not an antenna (as the low-frequency approximation suggests), a wire is usually part of a transmission line which consists of at least two conductors. Assume for example that you use a pair of wires to connect a source to a load, like in the figure below (I hope everyone can see Box Drawing characters):
╔════════╗ ╔════════╗
║ ╟→→→→→→→→→→→→→→→→→╢ ║
║ source ║ (flux here) ║ load ║
║ ╟←←←←←←←←←←←←←←←←←╢ ║
╚════════╝ ╚════════╝
where the arrows represent the electric current. I assume the wire you are interested in is the top one, which I called “forward path”. The bottom wire, which I called “return path”, brings the current back to the source. Taken together, these two wires form a loop and the current will make some magnetic flux through the loop. Then, if you try to change the current, some electromotive force will appear because of this flux, and you will be able to model this as the effect of an inductor along the transmission line, as below:
╔════════╗ ╔════════╗
║ ╟────(inductor)───╢ ║
║ source ║ ║ load ║
║ ╟─────────────────╢ ║
╚════════╝ ╚════════╝
This is the self inductance of the transmission line, and is what I first thought you where trying to calculate.
The self inductance of a bare wire is somewhat ill-defined. Well, it is defined, but with some assumptions about the surface over which to integrate the flux, and it scales as $l\log\frac{l}{r}$, which makes it's value per unit length diverge logarithmically when considering an arbitrarily long wire, as pointed out by Zassounotsukushi and mmc. Once you add the second wire, the surface over which you have to integrate the flux is clearly defined, and the inductance of the line scales like $l\log\frac{d}{r}$, where $d$ is the distance between the wires. No more logarithmic divergence with respect to $l$. On the other hand, it depends logarithmically on the distance between the wires, therefore you cannot just assume that the return path is just far enough to be ignored. BTW, the return path is not necessarily a wire, it could be, e.g., a ground plane.
For the particular calculation you are doing (only the contribution of the field inside the conductor), you use a very narrow loop where the return path is replaced by a line along the edge of the conductor, in order to enclose only the internal field.
Original answer below, which is somewhat bogus, as I thought you where after the total self-inductance (including external field) per unit lengthunit length of an infinite wire. But theThe comments belowof Georg refer to this original version.